Skip to content
Snippets Groups Projects
Commit 3ee859f0 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Refactor socket.tcp_server() to use nice fiber names

socket.tcp_server() changes:

 * Set nice fibers names for listener and clients
 * Use only one address for bind
 * Return single socket instead of wrapper
 * Add opts = {} to arguments
 * Automatically remove UNIX domain socket on server:close()

Other changes:

 * Fix buggy port number parsng for ipv6
 * Add peer address to accept() results like recvfrom()
parent 8cb6b1fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment