C# 클래스 NetMQ.Core.Transports.Tcp.TcpAddress

A TcpAddress implements IZAddress, and contains an IPEndPoint (the Address property) and a Protocol property.
상속: Address.IZAddress
파일 보기 프로젝트 열기: somdoron/netmq 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Resolve() 공개 메소드

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
리턴 void

ToString() 공개 메소드

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