diff --git a/net.c b/net.c index 216350e..032de69 100644 --- a/net.c +++ b/net.c @@ -98,9 +98,7 @@ int net_listen_clients() "Peer socket address:\n%s:%d", inet_ntoa(peer_info.addr.sin_addr), ntohs(peer_info.addr.sin_port)); - close(peer_info.socket); - peer_info.socket = -1; - //return 1; + return 1; } peer_info.socket = socket(AF_INET, SOCK_DGRAM, 0);