socket_wsaprotocol_info_release
Release the exported WSAPROTOCOL_INFO structure
Function name: socket_wsaprotocol_info_release()
Function function: Release resources occupied by the WSAPROTOCOL_INFO structure
Applicable version: PHP 4 >= 4.3.0, PHP 5, PHP 7
Syntax: void socket_wsaprotocol_info_release ( resource $info )
parameter:
Description: The socket_wsaprotocol_info_release() function is used to free up resources occupied by the WSAPROTOCOL_INFO structure exported through the socket_wsaprotocol_info_export() function. After using the exported structure, this function should be called to free resources to avoid memory leaks.
Example:
// 导出WSAPROTOCOL_INFO结构体$info = socket_wsaprotocol_info_export(); // 使用导出的结构体// ... // 释放资源socket_wsaprotocol_info_release($info);
Notes: