Article View: borland.public.cppbuilder.internet.socket
Article #600Re: IdUDPServer reconnection
From: Remy Lebeau (TeamB)
Date: Fri, 30 Nov 2007 17:20
Date: Fri, 30 Nov 2007 17:20
26 lines
2065 bytes
2065 bytes
"EricM" <buggy441@hotmail.com> wrote in message news:474fce31$1@newsgroups.borland.com... > It uses the onUDPRead event to check for incoming data, if > anything recognizable comes in it replies/acts on it. I know it > doesn't work anymore because it doesn't receive any data. Then either it is not actually listening at all, or it is listening on a different IP/Port than what the client is sending to. Have you verified whether any actual data is arriving on the socket? You can use a packet sniffer, such as Ethereal/Wireshark, for that. > I had no errors but when i put in the Reset method like you mentioned > on disabling the IdUDPServer i get a 'no bindings specified' warning. There is no Reset() method. > The actual code is very simple, on program startup > IdUDPServer1->Active=true; > and from within the program it can be set to false/true by the user. Which version of Indy are you using? Gambit
Technical Details
Message-ID:
<47504693$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<474f3f15@newsgroups.borland.com> <474f4e8d$1@newsgroups.borland.com> <474fce31$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,dbfa3bab2b8d0224 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: <474f3f15@newsgroups.borland.com> <474f4e8d$1@newsgroups.borland.com> <474fce31$1@newsgroups.borland.com> Subject: Re: IdUDPServer reconnection Date: Fri, 30 Nov 2007 09:20:10 -0800 Lines: 28 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47504693$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1196443283 207.178.157.90 (30 Nov 2007 09:21:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail