Article View: borland.public.cppbuilder.internet.socket
Article #4562usage of TidUDPSever (Indy 10) in BCB6
From: zhang
Date: Wed, 26 Jan 2005 08:31
Date: Wed, 26 Jan 2005 08:31
9 lines
1343 bytes
1343 bytes
how to use TidUDPSever:
when the sever receive a datagrame,it occures OnUDPRead(TObject
*Sender, TBytes AData,
TIdSocketHandle *ABinding),it is different from old
verson(Indy9)OnUDPRead(TObject *Sender, TStream AData,
TIdSocketHandle *ABinding),i want to know how to get the size of
AData,and get the IP adderss of remote computer,and answer it.
i want a Example in BCB6.
sorry for my poor English.
Technical Details
Message-ID:
<41f7557c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c243c75891143d81,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "zhang" <keenlong@21cn.com> From: "zhang" <keenlong@21cn.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: usage of TidUDPSever (Indy 10) in BCB6 Date: Wed, 26 Jan 2005 16:31:41 +0800 Lines: 11 Organization: san 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; Original NNTP-Posting-Host: 219.137.228.105 Message-ID: <41f7557c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106728316 219.137.228.105 (26 Jan 2005 00:31:56 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail