Commit graph

31 commits

Author SHA1 Message Date
Lee Salzman
3ae5af4548 add portable enet_address_set_host_ip that can properly parse broadcast address 2017-05-06 14:55:03 -04:00
lsalzman@gmail.com
00ccd3bd3f return -1 instead of 0 if getnameinfo returns an error 2016-02-19 19:54:40 -05:00
Lee Salzman
5f476546ed use getaddrinfo and getnameinfo where available 2015-05-11 05:41:27 -04:00
lsalzman
8df6e58c5f gethostbyname_r/gethostbyaddr_r fix for dragonfly bsd 2015-02-14 07:48:49 -08:00
Lee Salzman
4d2694d74e fix ENET_SOCKOPT_NONBLOCK when value is 0 2014-12-31 00:24:29 +02:00
Lee Salzman
73c930881f avoid some strncpy usage 2014-03-08 18:46:39 +02:00
lsalzman
2ebb3560b7 enet 1.3.10 release prep 2013-10-23 14:13:44 +03:00
lsalzman
2c5dd69b17 fix RCVTIMEO and SNDTIMEO options on unix and also add NODELAY 2013-09-27 09:42:37 +03:00
Lee Salzman
c0713c47e6 more ENET_SOCKOPT_ERROR fixes 2013-08-16 01:18:21 +03:00
Lee Salzman
3595c0b3fb ENET_SOCKOPT_ERROR fix 2013-08-16 00:35:28 +03:00
Lee Salzman
e123218df3 added enet_socket_get_option() and ENET_SOCKOPT_ERROR 2013-08-16 00:14:02 +03:00
lsalzman
1658cf3a95 stub out enet_host_random_seed() 2013-08-09 09:41:57 +03:00
Lee Salzman
7dc0189ffb handle EINTR in enet_socket_wait 2013-05-10 17:49:44 +03:00
Lee Salzman
726ff6bc6d query the socket name if an explicit address binding is requested on host creation 2013-03-20 00:43:34 +02:00
Lee Salzman
0e0ace781b merging some things from Ryan C. Gordon (icculus):
enet_socket_connect() shouldn't fail with non-blocking sockets.
Removed unused variable.
Sanity check for possible NULL dereference reported by clang's static…analysis.
Added an interface to shutdown().
Fixed typo in the comments.
2012-09-18 16:38:10 +03:00
lsalzman
0fd4c9389b set some defaults for apple builds without configure script 2012-09-11 09:57:49 +03:00
Lee Salzman
71b7550049 treat destroying NULL as no-op 2012-09-11 02:28:50 +03:00
eihrul
5018dcf207 added support for setting tcp send/receive timeouts 2012-02-18 10:31:56 +00:00
eihrul
ea38380174 kFreeBSD fixes 2010-01-07 23:22:37 +00:00
eihrul
83bf2ead38 more permissive linux check 2009-11-13 03:18:21 +00:00
eihrul
ad60b6d451 bind address bug fix 2008-10-06 22:46:10 +00:00
eihrul
b846c47521 added miscellaneous updates for broadcasting 2008-09-15 23:11:22 +00:00
eihrul
3856e3fd15 zero out sin_zero 2008-02-24 14:19:47 +00:00
eihrul
0108785012 *** empty log message *** 2007-10-03 04:10:09 +00:00
eihrul
76252fa308 *** empty log message *** 2007-06-01 11:22:05 +00:00
eihrul
6a6e61b4bd *** empty log message *** 2007-05-31 08:04:23 +00:00
eihrul
92f904f56a *** empty log message *** 2006-12-13 04:36:07 +00:00
eihrul
1d6253cc3d *** empty log message *** 2006-07-06 21:22:41 +00:00
eihrul
550d23e25d 1.0 stuff 2006-03-14 23:21:50 +00:00
eihrul
fd57f842d5 added broadcasting 2005-06-08 01:13:28 +00:00
eihrul
3010e46b47 Initial revision 2004-10-20 17:17:51 +00:00