🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Slow ACK'ing

#1851
From: Bob Gonder
Date: Wed, 11 Oct 2006 20:52
31 lines
1898 bytes
Josh Arnold wrote:

>How do I get back a SOCKET type from the TTcpClient socket I am using in my
>Tried
>SOCKET s = client->Socket->SocketHandle;

Yet another repost, this time from Remy:
(I knew he had posted this, but couldn't find it the first time)

From: "Remy Lebeau \(TeamB\)" 
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TServerSocket sends a unwanted acknowlege
Date: Wed, 21 Sep 2005 09:52:31 -0700
Message-ID: <43318fa3@newsgroups.borland.com>

> How and where to set the TCP_NODELAY option.
>
> Is the OnClientConnect event the right place?

That is fine.

<snip>

You need to use its SocketHandle property instead:

    setsockopt((SOCKET)Socket->SocketHandle, IPPROTO_TCP, TCP_NODELAY,
&fl,
sizeof(fl));


Gambit
Technical Details
Message-ID: <92mqi2ho9q2ighfk0aegstmoshu4n7rpv6@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!x-privat.org!redpower.x-privat.org!news.taunusstein.net!news.soft-gems.net!open-news-network.org!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <452cea31$1@newsgroups.borland.com> <0hvpi29knbm09uif8ncifnmcuihfr6ttsa@4ax.com> <452d24b3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,74648bce769a50c7
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Slow ACK'ing
Date: Wed, 11 Oct 2006 13:52:24 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <92mqi2ho9q2ighfk0aegstmoshu4n7rpv6@4ax.com>
References: <452cea31$1@newsgroups.borland.com> <0hvpi29knbm09uif8ncifnmcuihfr6ttsa@4ax.com> <452d24b3$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.90.106
X-Trace: newsgroups.borland.com 1160599941 69.69.90.106 (11 Oct 2006 13:52:21 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!x-privat.org!redpower.x-privat.org!news.taunusstein.net!news.soft-gems.net!open-news-network.org!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail