C# Class NetMQ.Core.Transports.Tcp.TcpAddress

A TcpAddress implements IZAddress, and contains an IPEndPoint (the Address property) and a Protocol property.
Inheritance: Address.IZAddress
Afficher le fichier Open project: somdoron/netmq Class Usage Examples

Méthodes publiques

Méthode Description
Resolve ( string name, bool ip4Only ) : void

Given a string that should identify an endpoint-address, resolve it to an actual IP address and set the Address property to a valid corresponding value.

ToString ( ) : string

Override ToString to provide a detailed description of this object's state in the form: Protocol://[AddressFamily]:Port

Method Details

Resolve() public méthode

Given a string that should identify an endpoint-address, resolve it to an actual IP address and set the Address property to a valid corresponding value.
The name must contain the colon delimiter. The specified port must be a valid nonzero integer. Must be able to find the IP-address.
public Resolve ( string name, bool ip4Only ) : void
name string the endpoint-address to resolve
ip4Only bool whether the address must be only-IPv4
Résultat void

ToString() public méthode

Override ToString to provide a detailed description of this object's state in the form: Protocol://[AddressFamily]:Port
public ToString ( ) : string
Résultat string