طريقة System::Net::Sockets::Socket::Connect

Socket::Connect(String, int32_t) method

يؤسس اتصالًا بنقطة النهاية البعيدة المحددة.

void System::Net::Sockets::Socket::Connect(String host, int32_t port)
معاملنوعالوصف
hostStringاسم المضيف البعيد.
منفذint32_tرقم المنفذ للمضيف البعيد.

انظر أيضًا

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

يؤسس اتصالًا بنقطة النهاية البعيدة المحددة.

void System::Net::Sockets::Socket::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> addresses, int32_t port)
معاملنوعالوصف
العناوينSystem::ArrayPtr<System::SharedPtr<IPAddress>>عناوين IP للمضيف البعيد.
منفذint32_tرقم المنفذ للمضيف البعيد.

انظر أيضًا

Socket::Connect(System::SharedPtr<EndPoint>) method

يؤسس اتصالًا بنقطة النهاية البعيدة المحددة.

void System::Net::Sockets::Socket::Connect(System::SharedPtr<EndPoint> remoteEP)
معاملنوعالوصف
remoteEPSystem::SharedPtr<EndPoint>النقطة النهائية البعيدة.

انظر أيضًا

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

يؤسس اتصالًا بنقطة النهاية البعيدة المحددة.

void System::Net::Sockets::Socket::Connect(System::SharedPtr<IPAddress> address, int32_t port)
معاملنوعالوصف
العنوانSystem::SharedPtr<IPAddress>عنوان IP للمضيف البعيد.
منفذint32_tرقم المنفذ للمضيف البعيد.

انظر أيضًا