메소드 | 설명 | |
---|---|---|
CanConnect ( string host, int port, System.TimeSpan timeout, ProtocolType protocolType = ProtocolType.Tcp ) : bool | ||
CanConnect ( string host, int port, int timeoutMilliseconds, ProtocolType protocolType = ProtocolType.Tcp ) : bool |
public static CanConnect ( string host, int port, System.TimeSpan timeout, ProtocolType protocolType = ProtocolType.Tcp ) : bool | ||
host | string | |
port | int | |
timeout | System.TimeSpan | |
protocolType | ProtocolType | |
리턴 | bool |
public static CanConnect ( string host, int port, int timeoutMilliseconds, ProtocolType protocolType = ProtocolType.Tcp ) : bool | ||
host | string | |
port | int | |
timeoutMilliseconds | int | |
protocolType | ProtocolType | |
리턴 | bool |