Article View: borland.public.cppbuilder.internet.socket
Article #4682Re: [Indy / CBuilder6] Indy UDP messages received 3x
From: Zoetjuh
Date: Sun, 02 Jan 2005 20:51
Date: Sun, 02 Jan 2005 20:51
30 lines
1957 bytes
1957 bytes
Even stranger,
Now with this code, i get 8 records... 4 with IP and 4 without:
void __fastcall TTFormMain::IdUDPServerUDPRead(TObject *Sender, TStream *AData,
TIdSocketHandle *ABinding)
{
// Read data
String myData = ReadStringFromStream(AData);
// Check if the received data contains text
if (myData != "" && ABinding->PeerIP != "")
{
// Check if the server is listed
// Create server object
TListItem *myItem = LiV_SRV->Items->Add();
myItem->Caption = ABinding->PeerIP;
myItem->SubItems->Add("Unknown");
myItem->SubItems->Add("Unknown");
// Add server to the list
LiV_SRV->Items->AddItem(myItem, -1);
}
}
//---------------------------------------------------------------------------
What's going on? :(
Technical Details
Message-ID:
<41d85ed3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41d85960$1@newsgroups.borland.com> <41d85dff@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3d8ffd4f4c4f8438 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Zoetjuh" <peter@i-hate-spam.zoetjuh.demon.nl> Newsgroups: borland.public.cppbuilder.internet.socket References: <41d85960$1@newsgroups.borland.com> <41d85dff@newsgroups.borland.com> Subject: Re: [Indy / CBuilder6] Indy UDP messages received 3x Date: Sun, 2 Jan 2005 21:51:31 +0100 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 82.161.4.111 Message-ID: <41d85ed3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104699091 82.161.4.111 (2 Jan 2005 12:51:31 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail