Rename net_listen() parameter
For consistency with net_accept(), which necessarily uses a server socket, name the net_listen() parameter "server_socket".
This commit is contained in:
@@ -39,7 +39,7 @@ bool
|
||||
net_connect(sc_socket socket, uint32_t addr, uint16_t port);
|
||||
|
||||
bool
|
||||
net_listen(sc_socket socket, uint32_t addr, uint16_t port, int backlog);
|
||||
net_listen(sc_socket server_socket, uint32_t addr, uint16_t port, int backlog);
|
||||
|
||||
sc_socket
|
||||
net_accept(sc_socket server_socket);
|
||||
|
||||
Reference in New Issue
Block a user