Article View: borland.public.cppbuilder.internet.socket
Article #733Re: Indy 9 : UDP Client help?
From: Remy Lebeau (TeamB)
Date: Wed, 21 Nov 2007 20:51
Date: Wed, 21 Nov 2007 20:51
19 lines
1637 bytes
1637 bytes
"Paul at NCF" <notplmacca@clara.co.uk> wrote in message news:47448e0d@newsgroups.borland.com... > IdUDPClient->Active = true; You don't need that on the client side. All it does is allocates the Binding, not establish a connection to the server (since UDP is connectionless). SendBuffer() will allocate the Binding internally if needed. > RxBuf->Ulength = IdUDPClient->ReceiveBuffer(buf, > this_ptr->EventID); What is EventID supposed to be? That particular overload of ReceiveBuffer() takes a timeout as the second parameter. Gambit
Technical Details
Message-ID:
<47449a9e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<473e8cb8@newsgroups.borland.com> <47448e0d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d5288f71dfc08357 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <473e8cb8@newsgroups.borland.com> <47448e0d@newsgroups.borland.com> Subject: Re: Indy 9 : UDP Client help? Date: Wed, 21 Nov 2007 12:51:39 -0800 Lines: 21 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 207.178.157.90 Message-ID: <47449a9e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1195678366 207.178.157.90 (21 Nov 2007 12:52:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail