Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SockOpts = [
- binary,
- {active, false},
- {packet, http_bin},
- {reuseaddr, true},
- {packet_size, 16384},
- {recbuf, 16384},
- {backlog, 100},
- {delay_send, false},
- {nodelay, true}
- ],
- gen_tcp:listen(Port, SockOpts)
Add Comment
Please, Sign In to add comment