iPhone does not receive UDP data over WiFi -


with wifi connection, udp data not received. stops at:

recvfrom(sock, buf, recv_buf_size, 0, (sockaddr*)&raddr, (sock_len*)&len); 

when run same program in iphone simulator on ethernet works well. missing?

look @ man page.

like so:

  recvfrom(msock,recvbuff,1024,0,(struct sockaddr *)&from, &fromlen); 

providing parameter values setting correct try in case try:

  recvfrom(sock, buf, recv_buf_size, 0, (struct sockaddr *)&raddr, &len); 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -