Implement socks5 protocol server side
- TCP connect(0x01) command
- UDP associate(0x03) command
- Max number of clients
package main
import (
"gsocks"
)
func main() {
server := gsocks.New("127.0.0.1:1080", true, 60, 60) //server_addr, udp,timeout, client_n
server.ListenAndServe()
}