Cameron Gutman
299ab267c9
Enable ECN/L4S on UNIX
...
Since this is enabled as a QoS option, it will benefit from the opportunistic
disablement code when ECN-intolerant networks are encountered.
2024-02-03 14:32:25 -06:00
Cameron Gutman
9bf55a3433
Disable QoS tagging if 2 connect packets in a row are dropped
2020-06-12 21:16:46 -07:00
Cameron Gutman
5c96da29c2
Enable QoS prioritization on Windows
2020-04-09 17:42:12 -07:00
Cameron Gutman
d988023971
Use EF instead of CS7 for DSCP
...
Some security guidelines recommend dropping CS7 tagged packets at the edge,
since CS7 is reserved for network control. EF seems to be the standard for
telephony applications and is fairly well preserved across the Internet per
https://www.sciencedirect.com/science/article/pii/S0166531619300203
2020-04-03 16:58:18 -07:00
Cameron Gutman
637cd52e96
Enable QoS prioritization on Linux
2020-03-29 15:44:14 -07:00
Cameron Gutman
512b3f26f9
Enable QOS prioritization on macOS
2020-03-29 15:21:26 -07:00
Cameron Gutman
5503534362
Fix Linux build
2019-10-12 19:41:41 -07:00
Sunguk Lee
93b080b053
vita: No more need vita specific codesets ( #4 )
...
* vita: No more need to define sockaddr_storage
* vita: Remove everything and combine unix codeset
* unix: Remove HACK for the specialized code of the vita nonblock IO
2019-10-12 15:10:59 -07:00
Cameron Gutman
cf38f85e08
Be more lenient with the expected peer address for multi-homed hosts
2019-09-14 14:05:05 -07:00
Cameron Gutman
e770a52bca
Merge pull request #3 from d3m3vilurr/fix-vita-error-code
...
vita: No more use self defined net error code
2019-02-17 09:49:11 -08:00
Sunguk Lee
42891f6919
vita: No more use self defined net error code
2018-07-28 21:50:59 +09:00
Antonio Aloisio
eb38c3c737
Fixed build with latest VitaSDK ( #2 )
2018-07-25 21:27:12 -07:00
Sunguk Lee
e33ca1dc47
Add vita environment ( #1 )
...
* vita: Initial port
* vita: add debug logging and reduce max number of IOV (caused errors)
* vita: now using newlib's socket apis
* vita: Refactoring for cgutman/enet
* Fix review things
https://github.com/cgutman/enet/pull/1#pullrequestreview-2436331
2016-10-02 00:56:59 -07:00
Cameron Gutman
7546b505c1
Lower ENet's MTU to 900 because some ISPs will drop the RTSP DESCRIBE response packets with the default MTU
2016-05-21 18:01:31 -05:00
Cameron Gutman
2bc07bb50d
Add enet_address_set_address() function to allow ENetAddress to be populated from sockaddr directly
2016-04-02 14:04:31 -04:00
Cameron Gutman
a602abf244
Switch to gettimeofday() for seeding on UNIX
2016-03-31 11:22:06 -04:00
Cameron Gutman
167f41aa2b
Fix build with NO_MSGAPI undefined
2016-03-27 22:47:50 -04:00
Cameron Gutman
b2ee3b7b48
Add support for building with PNaCl's newlibc
2016-03-11 00:27:48 -08:00
Cameron Gutman
8b24595dbd
Require an address family to be specified when creating a host
2016-03-07 14:26:13 -08:00
Cameron Gutman
b3e34fa1db
Fix some IPv6 compatibility issues
2016-03-06 23:22:59 -08:00
Cameron Gutman
4f7ef11c23
Fix some compilation warnings
2016-03-06 15:33:32 -08:00
Cameron Gutman
a39d3bb49c
Wake up every once in a while to see if any retransmissions or pings need to be sent
2016-03-06 14:56:08 -08:00
Cameron Gutman
ae9002fe19
Protocol agnostic socket address to fix IPv6 and remove broadcast support
2016-03-06 14:47:01 -08: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
v1.3.13
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
v1.3.12
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