SKYENGINE API 参考手册返回目录 |
int32
mr_closeSocket(int32 s)
Description
关闭socket。
Parameters
Name
Description
s
socket 句柄
MR_SUCCESS 成功
MR_FAILED 失败
/*mrp code*/
int32 hSoc = 0;
hSoc = mrc_socket( MR_SOCK_STREAM, MR_IPPROTO_TCP );
mrc_closeSocket( hSoc );