Altera_Forum
Honored Contributor
13 years agoNone sender data in recvfrom
Hi,
I've implemented a UDP server based on Iniche stack and uCOS. It's work whitout problem:), I can receive data from a UDP client on remote PC but....but there is something stranges.:cry: recvfrom has 6 parameters: int recvfrom(int sd, void* buf, int n, int flags, struct sockaddr* from, socklen_t *len); in "from" data structure I should have the sender IP, but this structure is filled to zero.:eek: I've experience with Linux and in Linux I can get data sender from this structure. Where is my error?:confused: