Manuel Pégourié-Gonnard 9bd0afdb22 Add guards for closed socket in net.c
This is particularly problematic when calling FD_SET( -1, ... ), but let's
check it in all functions.

This was introduced with the new API and the fact the net_free() now sets the
internal fd to -1 in order to mark it as closed: now using this information.
2015-07-01 19:03:27 +02:00
..
2015-06-02 10:38:50 +01:00
2015-06-02 16:30:35 +01:00
2015-05-29 10:18:09 +02:00
2015-06-25 10:59:57 +02:00
2015-05-11 14:35:41 +02:00
2015-06-29 20:14:19 +02:00
2015-05-12 15:17:15 +02:00
2015-06-02 16:17:08 +01:00
2015-06-23 13:09:10 +02:00
2015-07-01 19:03:27 +02:00
2015-05-11 14:35:41 +02:00
2015-07-01 17:22:36 +02:00
2015-07-01 19:03:27 +02:00
2015-06-18 16:06:55 +02:00
2015-06-18 15:31:10 +02:00
2015-05-29 12:53:47 +02:00
2015-05-28 17:28:39 +02:00
2015-06-25 10:59:57 +02:00
2015-06-02 10:28:09 +01:00