Description
bool 
socket_shutdown ( resource socket [, int how])
| 警告 | 
| 本扩展模块是实验性的。该模块的行为,包括其函数的名称以及其它任何关于此模块的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。我们提醒您在使用本扩展模块的同时自担风险。
 | 
     The socket_shutdown() function allows you to stop
     incoming, outgoing or all data (the default) from being sent through the
     socket
    
     The value of how can be one of the following:
     
表格 1. possible values for how
| 0 | Shutdown socket reading | 
| 1 | Shutdown socket writing | 
| 2 | Shutdown socket reading and writing |