Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002001c28b93$f5bb6e70$0164a8c0@PROJECTTECHNOLOGY1> From: "Dr. M. C. Nelson" To: Subject: recvfrom bug Date: Wed, 13 Nov 2002 23:11:50 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 AT mindspring DOT 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/