问题
I have a web socket server on desktop and client on iPhone device. I would like to communicate with them using USB rather than any network. I have implemented it on android using adb reverse but not able to find any solution for iOS.
I have tried to implement it using usbmuxd and iproxy but they only does port forwarding not the reverse forwarding.I would really appreciate some help on it.
回答1:
Not sure if it will solve your problem, because I did not use the library, but some time ago I've read how Duet Display app is using https://github.com/rsms/peertalk
来源:https://stackoverflow.com/questions/57405925/reverse-port-forwarding-in-ios-over-usb