Article View: borland.public.cppbuilder.internet.socket
Article #1680Re: TCP TServer- and TClientSocket
From: Remy Lebeau (TeamB)
Date: Fri, 17 Nov 2006 08:22
Date: Fri, 17 Nov 2006 08:22
24 lines
1687 bytes
1687 bytes
"Kresten Tolstrup" <kt@danphone.com> wrote in message news:455d6ba5$1@newsgroups.borland.com... > I'm using the SendText and ReceiveText metodes I strongly discourage the use of those methods. You should use SendBuf() and ReceiveBuf() directly instead. > if I sent e.g 200 packets, as fast as possible, then they are not all received Yes, they are, as TCP guarantees packet delivery. You likely are simply not reading the packets properly in the first place. Please show your actual code. Are you taking into account that packets may be split and/or merged together? I guess would be no. > I have to put in a large delay about 100-150msec between each transmission All the more reason to suspect that your reading/writing code is not correct enough. Gambit
Technical Details
Message-ID:
<455d71f5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<455d6ba5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a552fcaaf39b63f9 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <455d6ba5$1@newsgroups.borland.com> Subject: Re: TCP TServer- and TClientSocket Date: Fri, 17 Nov 2006 00:22:17 -0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <455d71f5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163751925 69.169.4.232 (17 Nov 2006 00:25:25 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail