🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#3928
From: longshot
Date: Tue, 03 May 2005 15:26
18 lines
1788 bytes
> > I don't know where the 370 bytes come from
>
> How exactly are you determining that 370 bytes are being sent/received?

On the receiving end i  can :
1)    ioctlsocket(sock,FIONREAD,&oob);    // where oob is the n.o. bytes
2)    t = recv(sock, buffer, length, 0);                // where t is the
n.o. bytes

> > i send 2 packets of 20 bytes
>
> You said you were sening 3 packets.

yes, the 3rd packet isn't relevant, could give a size error and for sure
isn't received correctly.
when i succesfully receive my 2nd packet, i am confident i also receive my
3rd packet.
this 2 packet situation is a test.
Technical Details
Message-ID: <427798d4$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.netcologne.de!newsfeed-fusi.netcologne.de!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,56c67ad4148993cd
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "longshot" <a@ladidadi.nl>
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>
Subject: Re: sendto to same destination more times after eachother fails.?
Date: Tue, 3 May 2005 17:26:55 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 62.234.133.231
Message-ID: <427798d4$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115134164 62.234.133.231 (3 May 2005 08:29:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.netcologne.de!newsfeed-fusi.netcologne.de!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail