Article View: borland.public.cppbuilder.nativeapi
Article #5025Re: TCustomWinSocket
From: Robert G. Hoover
Date: Tue, 01 Nov 2005 14:39
Date: Tue, 01 Nov 2005 14:39
20 lines
1726 bytes
1726 bytes
Thanks for the tip... I've been looking through the documentation for TWinServerSocket and I'm not seeing anything similar to the SOCKET parameter that setsockopt() accepts. Is the SocketHandle the same thing, and int address of the SOCKET structure? Is there a way to translate the TWinServerSocket into a SOCKET struct? Thanks! Rob Remy Lebeau (TeamB) wrote: SendBuf() calls the winsock API send() function. By default, a socket will buffer outgoing data and not send it immediately. This allows the socket to send efficient packets. This is known as "send coalescing", also known as the Nagle algorithm. Have a look at the socket API setsockopt() function for details on the TCP_NODELAY option. Gambit
Technical Details
Message-ID:
<43677e1a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43627188@newsgroups.borland.com> <43628c88$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ddf88f1d3aecd366 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 01 Nov 2005 09:39:17 -0500 From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: TCustomWinSocket References: <43627188@newsgroups.borland.com> <43628c88$1@newsgroups.borland.com> In-Reply-To: <43628c88$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.142.36.34 Message-ID: <43677e1a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130855962 67.142.36.34 (1 Nov 2005 06:39:22 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail