This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
recvfrom bug
- From: "Dr. M. C. Nelson" <mcnelson at mindspring dot com>
- To: <cygwin at sources dot redhat dot com>
- Date: Wed, 13 Nov 2002 23:11:50 -0500
- Subject: recvfrom bug
Dear mailing list:
The following code works well on a Linux platform,
int sockfd;
char buf[1024];
struct sockaddr fromaddr;
int fromlen;
if ( (retv = recvfrom( sockfd, buf, sizeof(buf), 0, &fromaddr,&fromlen )) <
0 )
{
perror( "udpclient: recvfrom" );
}
However, in cygwin the following error message is produced:
udpclient: recvfrom: Bad address
Can anyone tell me how to get pas this problem?
Pleas reply, to mailto:mcnelson@mindspring.com
I am not a subscriber.
Thank you,
Mitch Nelson
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/