0

I'm really having a hard time with this problem:

  • I connect the socket to the server's ip and port
  • wait until I receive a success message
  • call send() function to send a packet to the server
  • receive() function returns "Connection Reset" and nothing reached the server

On emulator everything is working fine, and I'm connecting the device using a usb cable and Zune is launching normally.

Any ideas?

NadaNK
  • 782
  • 2
  • 10
  • 26
  • `receive()` functions don't "return 'Connection reset by peer'". Do you mean it returned -1 with `errno==ECONNRESET`? or threw an exception with that message? that partial message? that *name?* Please be specific. Paste the *actual error message* into your post. – user207421 Mar 25 '13 at 09:15
  • yes it returned this string : ConnectionReset – NadaNK Mar 25 '13 at 09:28
  • NO answer ??? come on! I need the usb cable for debugging – NadaNK Apr 17 '13 at 06:31

0 Answers0