System::Net::Sockets::Socket::Close 方法
Socket::Close() method
关闭套接字连接。
void System::Net::Sockets::Socket::Close()
另见
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::Close(int) method
在指定的超时时间内关闭套接字连接,以允许发送排队的数据。
void System::Net::Sockets::Socket::Close(int timeout)
| 参数 | 类型 | 描述 |
|---|---|---|
| 超时 | int | 等待的毫秒数。 |
另见
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++