golang - epoll 예제 코드
Golang에서 epoll API를 호출해서 서버 프로그램을 만드는 예제 코드이다. 출처 epoll.go package main import ( "syscall" "fmt" ) const ( EPOLLET = 1 << 31 MaxEpollEvents = 32 ) type epoll struct { fd int } func initEpoll() (epoll, error)...
더 읽기