SKYENGINE API  参考手册返回目录  

 

int32 mr_closeSocket(int32 s)



Description
关闭socket。
Parameters

Name Description
s socket 句柄

Return Value

MR_SUCCESS                     成功
MR_FAILED                        失败

Remarks

 

Example

/*mrp code*/

int32 hSoc = 0;

hSoc = mrc_socket( MR_SOCK_STREAM, MR_IPPROTO_TCP );
mrc_closeSocket( hSoc );

See Also

mr_socket


Copyright ?2005-20010 SKY-MOBI

返回目录