I saw there are several apps on App Store that allow other computers to make a http connection to the iPhone/iPad devices to transfer files. It seemed like a web service is running on the iOS device. Just curious how is it done /what class was used?
Thanks.
If you have iSH linux shell running in iOS then you can easily start and run a simple web server directly from an iPhone or iPad.
A new app called ServersMan HD turns your iPad into a file-serving device provided you have enough bandwidth and can afford the charges.
Still can't connect? Reset your Network Settings. If you're using iOS or iPadOS 15 or later, tap Settings > General > Transfer or Reset [Device] > Reset > Reset Network Settings. If you're using iOS or iPadOS 14 or earlier, tap Settings > General > Reset > Reset Network Settings.
Just display the devices IP address, open a socket for listening in an app running on the iOS device, and implement the http protocol. There are several 3rd party libraries that can do most of the heavy lifting for you:
CocoaHTTPServer or iPhoneHTTPServer3, or SimpleWebSocketServer, or MultithreadedHTTPServer3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With