Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/** * 創建SOCKET * @author wave */ protected static function create() { self::$sock = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); if (!self::$sock) { exit('create socket error'); } }