🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3929

Re: sendto to same destination more times after eachother fails.?

#3929
From: Remy Lebeau (TeamB)
Date: Tue, 03 May 2005 18:08
17 lines
1545 bytes
"longshot" <a@ladidadi.nl> wrote in message
news:427798d4$3@newsgroups.borland.com...

> On the receiving end i  can :
> 1)    ioctlsocket(sock,FIONREAD,&oob);    // where oob is the n.o. bytes

Did you validate ioctlsocket()'s return value to check for errors?

> 2)    t = recv(sock, buffer, length, 0);                // where t is the
> n.o. bytes

What is the value of length?  It should not be greater than the value of
oob.


Gambit
Technical Details
Message-ID: <4277be4a$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4272a30c@newsgroups.borland.com> <4272bde4$1@newsgroups.borland.com> <42745e0d@newsgroups.borland.com> <427472e1$3@newsgroups.borland.com> <427798d4$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,56c67ad4148993cd
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4272a30c@newsgroups.borland.com> <4272bde4$1@newsgroups.borland.com> <42745e0d@newsgroups.borland.com> <427472e1$3@newsgroups.borland.com> <427798d4$3@newsgroups.borland.com>
Subject: Re: sendto to same destination more times after eachother fails.?
Date: Tue, 3 May 2005 11:08:46 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4277be4a$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115143754 68.69.17.41 (3 May 2005 11:09:14 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail