golang 基于epoll/kqueue的socket server

空余时间撸的项目,开源。 golang中使用epoll,代码以下:php // +build linux package aio // #include <errno.h> // #include <fcntl.h> // #include <sys/epoll.h> import "C" import ( "syscall" "time" "unsafe" ) t
相关文章
相关标签/搜索