aboutsummaryrefslogtreecommitdiffhomepage
path: root/unix.c
AgeCommit message (Collapse)Author
2024-05-20return -2 for EINTRLee Salzman
2024-05-20check for EINTRLee Salzman
2023-07-23better partial message handlingLee Salzman
2023-01-08added ENET_SOCKOPT_TTLFloogle
2022-10-10allow build on hurd i386Fukui Daichi
This patch originates with: https://salsa.debian.org/games-team/enet/-/commit/88648f10bd19d658167b0d303bef05e9e6144278
2021-04-25better socklen_t detectionLee Salzman
2018-09-11Merge pull request #96 from Subv/patch-2Lee Salzman
Add the <arpa/inet.h> include to unix.h
2018-09-10Remove the now unneeded <arpa/inet.h> include in unix.cSebastian Valle
This is already included in unix.h
2018-09-10Use <poll.h> instead of <sys/poll.h> in unix.cSebastian Valle
<poll.h> is the correct POSIX header according to the POSIX standard. Some targets (like homebrew for the Nintendo Switch) do not provide a <sys/poll.h> so it makes compiling for them rather hard.
2017-05-06add portable enet_address_set_host_ip that can properly parse broadcast addressLee Salzman
2016-02-19return -1 instead of 0 if getnameinfo returns an error[email protected]
2015-05-11use getaddrinfo and getnameinfo where availableLee Salzman
2015-02-14gethostbyname_r/gethostbyaddr_r fix for dragonfly bsdlsalzman
2014-12-31fix ENET_SOCKOPT_NONBLOCK when value is 0Lee Salzman
2014-03-08avoid some strncpy usageLee Salzman
2013-10-23enet 1.3.10 release prepv1.3.10lsalzman
2013-09-27fix RCVTIMEO and SNDTIMEO options on unix and also add NODELAYlsalzman
2013-08-16more ENET_SOCKOPT_ERROR fixesLee Salzman
2013-08-16ENET_SOCKOPT_ERROR fixLee Salzman
2013-08-16added enet_socket_get_option() and ENET_SOCKOPT_ERRORLee Salzman
2013-08-09stub out enet_host_random_seed()lsalzman
2013-05-10handle EINTR in enet_socket_waitLee Salzman
2013-03-20query the socket name if an explicit address binding is requested on host ↵Lee Salzman
creation
2012-09-18merging some things from Ryan C. Gordon (icculus):Lee Salzman
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-11set some defaults for apple builds without configure scriptlsalzman
2012-09-11treat destroying NULL as no-opLee Salzman
2012-02-18added support for setting tcp send/receive timeoutseihrul
2010-01-07kFreeBSD fixeseihrul
2009-11-13more permissive linux checkeihrul
2008-10-06bind address bug fixeihrul
2008-09-15added miscellaneous updates for broadcastingeihrul
2008-02-24zero out sin_zeroeihrul
2007-10-03*** empty log message ***eihrul
2007-06-01*** empty log message ***eihrul
2007-05-31*** empty log message ***eihrul
2006-12-13*** empty log message ***eihrul
2006-07-06*** empty log message ***eihrul
2006-03-141.0 stuffeihrul
2005-06-08added broadcastingeihrul
2004-10-20Initial revisioneihrul