Article View: borland.public.cppbuilder.internet.socket
Article #3807sendto to same destination more times after eachother fails.?
From: longshot
Date: Fri, 29 Apr 2005 21:09
Date: Fri, 29 Apr 2005 21:09
19 lines
1402 bytes
1402 bytes
I try to send information from one bb app to another using : int r = sendto(SOCKET,bytes,length,0,(sockaddr *)&to,sizeof(sockaddr_in)); I send 3 packets after eachother. The first packet is received corectly, the second one is 370 bytes instead of the 20 bytes send. The third one isn't received at all. If i place a Sleep(200); between the send calls, i do receive the packets correctly. Is anyone familliar with this problem and knows a better solution than Sleep(200); ??? thanks. cu
Technical Details
Message-ID:
<4272a30c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,56c67ad4148993cd,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "longshot" <a@ladidadi.nl> Newsgroups: borland.public.cppbuilder.internet.socket Subject: sendto to same destination more times after eachother fails.? Date: Fri, 29 Apr 2005 23:09:14 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 62.234.133.231 Message-ID: <4272a30c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114809100 62.234.133.231 (29 Apr 2005 14:11:40 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail