简体   繁体   中英

How to connect iPhone to Windows PC through IP address in iOS?

I am doing one demo for connecting iPhone to Windows PC for sending files and text to PC from iOS Device. Can anyone give me a solution how can I approach it?

You can start to study the socket connection. With a TCP connection you can send and receive data to / from PC. Another way (to avoid the TCP connection) is to use UDP message: in this case you should write a UDP listener in your iOS App that listen incoming message on a specific udp port.

look at his link: iPhone TCP/IP Socket Server/Client Program

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM