php socket函數socket_set_option怎么用?
2 回答

RISEBY
TA貢獻1856條經驗 獲得超5個贊
設置socket選項。
bool socket_set_option ( resource $socket , int $level , int $optname , mixed $optval )
參數是需要設置的socket,協議等級,調用socket_get_option()的名稱和值
在socket_create()之后,設置一些參數,用于socket_get_option()來取的 mixed socket_get_option ( resource $socket , int $level , int $optname )
- 2 回答
- 0 關注
- 1401 瀏覽
添加回答
舉報
0/150
提交
取消