libimobiledevice / usbmuxd

A socket daemon to multiplex connections from and to iOS devices
https://libimobiledevice.org
GNU General Public License v2.0
1.44k stars 345 forks source link

Add network support #173

Open freswa opened 3 years ago

freswa commented 3 years ago

As implemented in https://github.com/libimobiledevice/libimobiledevice/pull/728 for the Apple usbmuxd, the last missing building block to allow wifi connectivity on linux is usbmuxd. There is an implementation here which doesn't seem to be maintained. Are there any plans to implement network connectivity in usbmuxd?

NyaMisty commented 2 years ago

I've got an idea. maybe usbmuxd is considering a better approach to handle mDNS, which doesn't have an cross-platform library. We can actually add an interface to usbmuxd. The interface accepts a network device info, and add it to device list. When first usbmuxd_connect called, we start heartbeat, and when the last connection dies, we stop the heartbeat.