udp failure in WindowsCE 4.2
-
This call(recvfrom) is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets, the application is crashing when it reaches this line. Any idea why it's happening?. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc
-
This call(recvfrom) is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets, the application is crashing when it reaches this line. Any idea why it's happening?. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc
Yes he is right. VC++ is quite difficult to USE. Many times 1 line code is .net is replaced with 10 lines code in VC++. I suggest you to learn VB.NET or Embedded vb. According to my experiance VB.net is better for Embedded Development Vikas Amin Embin Technology Bombay vikas.amin@embin.com