The BSD socket layer of lwip works identical to that of Linux. A code as below should work:
int a=10; struct sockaddr *to; // Destination address socklen_t to_len = sizeof(struct sockaddr); ... sendto(sock, &a, sizeof(a), 0, to, to_len); __Bikram On Mon, Feb 25, 2008 at 7:19 PM, dinesh babu <[EMAIL PROTECTED]> wrote: > can we send only the string data in the call sento. is it possible to send > the interger data. can anyone give me the code for this (UDP purpose) > > -- > Have a peaceful joy with you! > by > N.Dineshbabu > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
