Difference between revisions of "TWSocket.MultiCast"
Jump to navigation
Jump to search
(Created page with ' Main page -> ICS component reference -> TWSocket -> Multicast <font color="red">INCOMPLETE! Work in p…') |
(No difference)
|
Latest revision as of 07:41, 24 July 2011
Main page -> ICS component reference -> TWSocket -> Multicast
INCOMPLETE! Work in progress...
Definition
property Multicast: Boolean;
Description
Allow socket to listen on a multicast port
Example
Receive multicast
<syntaxhighlight lang="delphi">
WS.Proto:='udp'; WS.Addr:='192.168.0.1'; // IP address of the physical adapter I want to bind to WS.Port:='5000'; WS.MultiCast:=true; WS.ReuseAddr:=true; WS.MultiCastAddrStr:='239.192.1.1'; // Mutlicast IP WS.Listen;
</syntaxhighlight>
Transmit multicast
<syntaxhighlight lang="delphi"> </syntaxhighlight>