System::Net::Sockets::TcpClient::Connect method

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>कनेक्ट करने के लिए एक रिमोट होस्ट।

संबंधित देखें