Commit graph

249 commits

Author SHA1 Message Date
Lee Salzman
295456fba9
Merge pull request #95 from Subv/patch-1
Use <poll.h> instead of <sys/poll.h> in unix.c
2018-09-11 00:21:30 -04:00
Sebastian Valle
335715309c
Use <poll.h> instead of <sys/poll.h> in unix.c
<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.
2018-09-10 22:46:13 -05:00
Lee Salzman
2e1c6bceea remove bandwidth limits from tutorial 2018-08-19 22:30:47 -04:00
Lee Salzman
39a72ab199 Merge pull request #83 from thelvyn/master
CMake source groups added for cleaner VS solutions.
2017-10-20 23:06:32 -04:00
Lukasz Fronc
67f964c2ad CMake source groups added for cleaner VS solutions. 2017-10-15 11:02:29 +02:00
Lee Salzman
a84c120eff Merge pull request #76 from jroweboy/mingw-fix
Fix mingw compilation when using CMake
2017-07-12 22:32:14 -04:00
James Rowe
6cc8cc8a26 Fix mingw compilation
In order to compile enet on mingw, you need to link against winmm and
ws2_32. This explicitly makes those libraries required on mingw
2017-07-12 19:24:14 -06:00
Lee Salzman
9d9ba122d4 Merge pull request #71 from cxong/patch-2
Don't treat warnings as errors
2017-05-21 22:09:53 -04:00
Cong
90560cd471 Don't treat warnings as errors
When enet is included as a child CMake project in a parent that has warnings treated as errors, enet fails to build. This ensures that the compiler doesn't treat warnings as errors for enet.
2017-05-22 10:15:27 +10:00
Lee Salzman
0891c520d2 Merge pull request #70 from cxong/patch-1
reduce warnings on MSVC
2017-05-21 09:44:35 -04:00
Cong
5f5e977eef MSVC only warn up to level 3
enet produces warnings at level 4, which can interrupt compiles if warnings are treated as errors. Turning down the warning level resolves the issue.
2017-05-21 20:05:56 +10:00
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
f46fee0acc typo fix 2016-06-04 18:12:24 -04:00
lsalzman@gmail.com
4d1067179b update copyright years 2016-02-19 20:07:08 -05: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
809a1d15b6 update packet flag documentation 2015-12-30 18:13:58 -05:00
Lee Salzman
5f476546ed use getaddrinfo and getnameinfo where available 2015-05-11 05:41:27 -04:00
lsalzman@gmail.com
f7c46f03fd enet 1.3.13 release prep 2015-04-30 06:32:01 -07:00
lsalzman@gmail.com
7c27a5d5f8 fix window wrap check when sending reliable outgoing commands 2015-03-12 16:25:26 -07:00
lsalzman@gmail.com
9b06a12e71 handle case in bandwidth limit protocol where either incoming or outgoing limits are disabled, but not both 2015-03-09 11:54:01 -07:00
lsalzman
8df6e58c5f gethostbyname_r/gethostbyaddr_r fix for dragonfly bsd 2015-02-14 07:48:49 -08:00
Lee Salzman
b574c946d8 update copyright year 2015-01-13 19:59:27 +02:00
Lee Salzman
4d2694d74e fix ENET_SOCKOPT_NONBLOCK when value is 0 2014-12-31 00:24:29 +02:00
Lee Salzman
c8fa0aeea4 add cmake support 2014-12-02 17:46:04 +02:00
lsalzman
2fb98f9b02 added note about calling enet_host_service on both ends of a connection 2014-11-17 10:26:39 +02:00
Lee Salzman
6ef4e7d277 limit number of packets that can be received per iteration of protocol loop 2014-09-29 15:49:34 +03:00
Lee Salzman
d85a037ec4 add premake file 2014-09-07 12:14:10 +03:00
Lee Salzman
99004c45ac include mmsystem.h for timeGetTime 2014-05-28 21:16:14 +03:00
Lee Salzman
736474ca83 small doc fixes 2014-05-11 08:00:37 +03:00
Lee Salzman
9c4d9953ac bold some links 2014-05-11 07:55:27 +03:00
Lee Salzman
6f287186d8 more doxygen cleanups 2014-05-11 07:26:52 +03:00
Lee Salzman
379290acd5 add doxygen layout 2014-05-11 06:36:21 +03:00
Lee Salzman
127643fae4 doxygen output cleanups 2014-05-11 06:28:48 +03:00
Lee Salzman
98219eb50d doxygen output cleanups 2014-05-11 05:08:55 +03:00
Lee Salzman
b14c7e99e0 Merge pull request #33 from stephanecharette/master
upgrade doxygen configuration file
2014-05-11 04:47:24 +03:00
Stephane Charette
464e883f04 upgrade doxygen configuration file 2014-05-07 02:16:54 -07:00
lsalzman
9895a4f110 enet 1.3.12 release prep 2014-04-24 10:47:26 +03:00
Lee Salzman
518144338d fix maximumWaitingData handling to allow acknowledgements when the packet already exists 2014-04-14 21:21:21 +03:00
Lee Salzman
734a630bed update license date 2014-04-14 19:23:00 +03:00
Lee Salzman
ea8d41f65c added maximumPacketSize and maximumWaitingData fields for limiting peer buffer space 2014-04-14 19:11:44 +03:00
Lee Salzman
73c930881f avoid some strncpy usage 2014-03-08 18:46:39 +02:00
lsalzman
5721b667f2 avoid an enet_time_get call when timeout expires 2014-02-21 11:20:20 +02:00
Lee Salzman
c58ec4cc44 note about null-termination in enet_address_get_host 2014-02-20 19:55:51 +02:00
Lee Salzman
b3de8a29c4 another doc fix 2013-12-28 17:21:14 +02:00
Lee Salzman
259376b214 doc fix 2013-12-28 16:43:12 +02:00
Lee Salzman
01416f5850 typo fix 2013-12-28 16:31:45 +02:00
Lee Salzman
272d4432f8 typo fixes 2013-12-28 16:30:15 +02:00
Lee Salzman
6fcfba5141 enet 1.3.11 release prep 2013-12-26 15:49:43 +02:00
lsalzman
84a4ac70ab handle disconnects in connecting state 2013-11-27 16:33:09 +02:00
Lee Salzman
9d1d09c1e5 _MSC_VER fix 2013-11-26 19:40:06 +02:00