[prev in list] [next in list] [prev in thread] [next in thread] 

List:       twsocket
Subject:    Re: [twsocket] Using TWSocket for UDP
From:       "Francois PIETTE" <francois.piette () skynet ! be>
Date:       2011-03-15 6:24:36
Message-ID: 800952DCDB6A4022B989E4992AFF20A7 () ovb ! local
[Download RAW message or body]

> If I use TWSocket in UDP mode, do I require 2 TWSocket components (1 to 
> Send
> and 1 to listen)
>
> is this correct ??    or can 1 TWSocket be used to send and listen to UDP
> data ????

Only one is enough.
The one which listen may also send UDP datagrams to a specific host using 
SendTo method.

> Also what is the property that tells you what the IP address the UDP 
> packet
> came from ??

Use ReceiveFrom method to receive a UDP datagram and the sender informations 
(IP/Port)

--
francois.piette@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic