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)
معاملنوعالوصف
عناوين IPSystem::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>مضيف بعيد للاتصال.

انظر أيضًا