Article View: borland.public.cppbuilder.internet.socket
Article #4362Re: udp server
From: Remy Lebeau (TeamB)
Date: Tue, 15 Feb 2005 18:03
Date: Tue, 15 Feb 2005 18:03
19 lines
1566 bytes
1566 bytes
"Dirk Kaufmann" <d.kaufmann@raumcomputer.com> wrote in message news:4211fda4$1@newsgroups.borland.com... > UdpSocket = new TUdpSocket(NULL); TUdpSocket is part of the CLX, not the VCL. The socket components in the CLX are badly written. I highly recommend that you not use them. > i confirmed that the udp packet was send by the client > (ethernet sniffer) but the UdpSocket_Receive function is > never called. The OnReceive event is only triggered when ReceiveBuf() or ReceiveFrom() is called, which does not happen automatically. You have to call it yourself manually, such as in a timer or thread. Gambit
Technical Details
Message-ID:
<42123884@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4211fda4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f913eedcbd4070e3 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: <4211fda4$1@newsgroups.borland.com> Subject: Re: udp server Date: Tue, 15 Feb 2005 10:03:12 -0800 Lines: 21 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: 68.69.17.41 Message-ID: <42123884@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108490372 68.69.17.41 (15 Feb 2005 09:59:32 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail