C# Class Brunet.Messaging.MulticastSender

Inheritance: UnicastSender
Afficher le fichier Open project: pstjuste/brunet

Méthodes publiques

Свойство Type Description
LocalIPAddresses System.Net.IPAddress[]

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

MulticastSender() public méthode

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.
Résultat System

Send() public méthode

Sends the data over the multicast socket.
public Send ( ICopyable data ) : void
data ICopyable
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

LocalIPAddresses public_oe property

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