System::Net::Sockets::Socket::Bind 方法

Socket::Bind method

将套接字绑定到指定的本地端点。

void System::Net::Sockets::Socket::Bind(System::SharedPtr<EndPoint> localEP)
参数类型描述
localEPSystem::SharedPtr<EndPoint>套接字绑定的本地端点。

另见