Article View: comp.lang.pascal.delphi.misc
Article #468Re: TCP_NODELAY ?
From: Alun Jones
Date: Fri, 02 Mar 2001 16:07
Date: Fri, 02 Mar 2001 16:07
33 lines
2579 bytes
2579 bytes
In article <3A9F9303.4A3D4DF@sol.dk>, Walker <walker1@sol.dk> wrote: > Does anybody know how to set the TCP_NODELAY option ? > > We are transmitting smaller packages via socket components (4-500 bytes) > and the transmission rate could be much better. > We are using W2K and Delphi 4, Prof. We had better performance when > using NT4 ! > > I have heard the delay is due to some waiting for an Ack. signal from > the receiver, but it can be turned off by using the above option, but > how ? > Some API call I guess, but ....? It sounds like you're asking the wrong question. The right question may be: Why are we transmitting small datagrams over a stream-based protocol? TCP_NODELAY may provide you with some relief, but the answer to your problem is more likely to lie in using a more appropriate protocol to your needs than TCP. Alun. ~~~~ [Note that answers to questions in newsgroups are not generally invitations to contact me personally for help in the future.] -- Texas Imperial Software | Try WFTPD, the Windows FTP Server. Find us at 1602 Harvest Moon Place | http://www.wftpd.com or email alun@texis.com Cedar Park TX 78613-1419 | VISA/MC accepted. NT-based sites, be sure to Fax/Voice +1(512)378-3246 | read details of WFTPD Pro for NT.
Technical Details
Message-ID:
<1BPn6.37351$Yx4.1296775@news6.giganews.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!nntp2.aus1.giganews.com!nntp3.aus1.giganews.com!news6.giganews.com.POSTED!magnusReferences:
<3A9F9303.4A3D4DF@sol.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb0ea,51198fddc677bef5 X-Google-Attributes: gidfb0ea,public X-Google-Thread: f9325,51198fddc677bef5 X-Google-Attributes: gidf9325,public X-Google-Thread: 10baee,51198fddc677bef5 X-Google-Attributes: gid10baee,public X-Google-ArrivalTime: 2001-03-02 08:10:23 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!nntp2.aus1.giganews.com!nntp3.aus1.giganews.com!news6.giganews.com.POSTED!magnus Newsgroups: comp.lang.pascal.delphi.misc,comp.protocols.tcp-ip,borland.public.delphi.vcl.components.using From: alun@texis.com (Alun Jones) Subject: Re: TCP_NODELAY ? Organization: Texas Imperial Software References: <3A9F9303.4A3D4DF@sol.dk> X-Newsreader: News Xpress 2.01 Lines: 33 Message-ID: <1BPn6.37351$Yx4.1296775@news6.giganews.com> NNTP-Posting-Date: Fri, 02 Mar 2001 10:09:33 CST X-Trace: sv2-z7SgUctnfUxe6b5ZHjcCEgVjpPlQWhBPdqD9jW9kqPGe7s5x3Wv3kjS6lwQx2dNlIyO3GpQP03+Ve1W!umSyJE43ElKHbZ0ZIvGsg1B9NEk= X-Complaints-To: abuse@GigaNews.Com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 02 Mar 2001 16:07:50 GMT