I am trying to stream simple data from my phone to my PC over a TCP socket. This sometimes works, but sometimes as soon as I call deviceApi.idevice_connection_receive() I get error code 108 for USBMuxD - Connection reset
I have tried changing how I'm opening the TCP listener on the phone, changing how I'm starting the device on the PC, but nothing has worked. I am running out of ideas and was hoping someone could provide guidance as to what I may be doing wrong to get this intermittent connection reset issue.
Here is how I'm opening the TCP listener and accepting clients on the iphone:
I am using the latest imobiledevice-net on Nuget.
I am trying to stream simple data from my phone to my PC over a TCP socket. This sometimes works, but sometimes as soon as I call deviceApi.idevice_connection_receive() I get error code 108 for USBMuxD - Connection reset
I have tried changing how I'm opening the TCP listener on the phone, changing how I'm starting the device on the PC, but nothing has worked. I am running out of ideas and was hoping someone could provide guidance as to what I may be doing wrong to get this intermittent connection reset issue.
Here is how I'm opening the TCP listener and accepting clients on the iphone:
Here is how I'm connecting to the device on the PC:
Any suggestions would be appreciated. I'm stumped as to what I'm doing wrong.