Re: recvfrom bug

2002-11-14 Thread Christopher Faylor
On Thu, Nov 14, 2002 at 01:28:41PM +0100, Thomas Pfaff wrote: >Dr. M. C. Nelson wrote: >>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

Re: recvfrom bug

2002-11-14 Thread Dr. M. C. Nelson
Thank you. I will try that. - Original Message - From: "Thomas Pfaff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 7:28 AM Subject: Re: recvfrom bug > Dr. M. C. Nelson wrote: > > Dear mai

Re: recvfrom bug

2002-11-14 Thread Thomas Pfaff
Dr. M. C. Nelson wrote: 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" );

Re: recvfrom bug

2002-11-13 Thread Christopher Faylor
On Wed, Nov 13, 2002 at 11:11:50PM -0500, Dr. M. C. Nelson wrote: > >Dear mailing list: > >The following code works well on a Linux platform, > > int sockfd; > char buf[1024]; > struct sockaddr fromaddr; > int fromlen; I assume that this is just a code snippet and sockfd is actually set to som

recvfrom bug

2002-11-13 Thread Dr. M. C. Nelson
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 cygw