System::Net::Sockets::TcpClient::Connect 메서드

TcpClient::Connect(String, int32_t) method

지정된 원격 호스트에 연결을 설정합니다.

void System::Net::Sockets::TcpClient::Connect(String hostname, int32_t port)
매개변수형식설명
호스트명String연결할 원격 호스트 이름.
포트int32_t연결할 원격 호스트의 포트.

또 보기

TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method

지정된 원격 호스트에 연결을 설정합니다.

void System::Net::Sockets::TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> ipAddresses, int32_t port)
매개변수형식설명
ipAddressesSystem::ArrayPtr<System::SharedPtr<IPAddress>>원격 호스트의 IP 주소들.
포트int32_t연결할 원격 호스트의 포트.

또 보기

TcpClient::Connect(System::SharedPtr<IPAddress>, int32_t) method

지정된 원격 호스트에 연결을 설정합니다.

void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPAddress> address, int32_t port)
매개변수형식설명
주소System::SharedPtr<IPAddress>원격 호스트의 IP 주소.
포트int32_t연결할 원격 호스트의 포트.

또 보기

TcpClient::Connect(System::SharedPtr<IPEndPoint>) method

지정된 원격 호스트에 연결을 설정합니다.

void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
매개변수형식설명
remoteEPSystem::SharedPtr<IPEndPoint>연결할 원격 호스트.

또 보기