Commit 0456ebc8 by Marcus Winter

mtapi_network_c: removed code for socket reuse altogether

parent f670df71
......@@ -71,12 +71,6 @@ int embb_mtapi_network_socket_bind_and_listen(
uint16_t port,
uint16_t max_connections) {
struct sockaddr_in in_addr;
int reuseaddr_on = 1;
if (SOCKET_ERROR == setsockopt(that->handle, SOL_SOCKET, 0,
(const char *)&reuseaddr_on, sizeof(reuseaddr_on))) {
return 0;
}
// bind & listen
memset(&in_addr, 0, sizeof(in_addr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment