> With UDP, connect and listen seem to be the same thing.  So specify Addr
and Port, 
> then connect, send, and you'll get your responses in data available. 

I tried this and this works great ! Thanks.
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: dinsdag 4 april 2006 22:06
To: twsocket@elists.org
Subject: Re: [twsocket] THttpCli and UPnP devices

> (2) With the code below I open port 2500 for listening, multicast a 
> packet, and then listen for 5 seconds before closing the socket.
> However, if I try to repeat this sequence a 2nd time, even though I've 
> closed the socket after listening for 5 seconds, I get following error

I've just been writing a UDP echo component, which is very similar what you
doing.  With UDP, connect and listen seem to be the same thing.  So specify
Addr and Port, then connect, send, and you'll get your responses in data
available.  

Angus
--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to