[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] douts in UDP of Lwip
From: |
Bikram Chatterjee |
Subject: |
Re: [lwip-users] douts in UDP of Lwip |
Date: |
Tue, 26 Feb 2008 15:49:04 +0530 |
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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>