C# Class Brunet.Messaging.MulticastSender

Inheritance: UnicastSender
Show file Open project: pstjuste/brunet

Public Properties

Property Type Description
LocalIPAddresses System.Net.IPAddress[]

Public Methods

Method Description
MulticastSender ( Socket s ) : System

Creates a new multicast sender that will send over the provided socket.

MulticastSender ( Socket s, IPAddress LocalIPAddresses ) : System

Creates a new multicast sender that will send over the provided socket using the specified addresses.

Send ( ICopyable data ) : void

Sends the data over the multicast socket.

ToString ( ) : string

Method Details

MulticastSender() public method

Creates a new multicast sender that will send over the provided socket.
public MulticastSender ( Socket s ) : System
s Socket The socket to use in sending.
return System

MulticastSender() public method

Creates a new multicast sender that will send over the provided socket using the specified addresses.
public MulticastSender ( Socket s, IPAddress LocalIPAddresses ) : System
s Socket The socket to use in sending.
LocalIPAddresses System.Net.IPAddress The IP Address of the interfaces to send over.
return System

Send() public method

Sends the data over the multicast socket.
public Send ( ICopyable data ) : void
data ICopyable
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

LocalIPAddresses public property

If defined, the addresses to send on.
public IPAddress[],System.Net LocalIPAddresses
return System.Net.IPAddress[]