🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14900

Re: send() recv() questions for win32

#14900
From: Chris Harvey
Date: Fri, 25 Jul 2003 21:10
19 lines
1724 bytes
Not that I am aware of. I have used send() with single byte packets with no
problems. What you will see is that the socket layer will try to optimize
network traffic by holding on to small packets for a set time (200 ms)
waiting for more data. Look for "Nagle" on google for more info.
"CC" <Xcurtc@tmscorp.com> wrote in message
news:3f1ef357$1@newsgroups.borland.com...
> Greetings All.
>
> I was wondering on windows if anyone knows if there is a lower limit to
the
> size a data buffer can be before send() (or the underlying socket
software)
> will send the packet.
>
> I'm tyring to send a 2 byte packet via send(), should this be ok?
> Thanks,
> CurtC
>
>
Technical Details
Message-ID: <3f219ccd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f1ef357$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f6bfb0fe90abe6b0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-25 14:17:18 PST
Reply-To: "Chris Harvey" <chharvey@sympatico.ca>
From: "Chris Harvey" <chharvey@sympatico.ca>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f1ef357$1@newsgroups.borland.com>
Subject: Re: send() recv() questions for win32
Date: Fri, 25 Jul 2003 17:10:31 -0400
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 65.95.136.233
Message-ID: <3f219ccd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059167437 65.95.136.233 (25 Jul 2003 14:10:37 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail