Commit graph

502 commits

Author SHA1 Message Date
Jonathan Barrow
029a8db2f8
removed Structure methods from StreamIn. Moved to generics 2023-11-18 13:15:12 -05:00
Jonathan Barrow
d901566ae5
prudp: PRUDPClient now initializes with PID 0 2023-11-17 08:31:06 -05:00
Jonathan Barrow
8c35f5e1a1
prudp: use PID type in kerberos and PasswordFromPID 2023-11-14 22:45:36 -05:00
Jonathan Barrow
e77c51991c
added Equals method to PID type 2023-11-14 01:45:50 -05:00
Jonathan Barrow
234b0a9f8c
added Copy and string methods to PID type 2023-11-13 20:08:43 -05:00
Jonathan Barrow
a647b16c25
streams now check server version for PID size 2023-11-13 19:55:27 -05:00
Jonathan Barrow
825f13b353
added PID list methods to streams 2023-11-13 19:52:31 -05:00
Jonathan Barrow
4405b7e485
removed DateTime UTC() method. Now() now always returns UTC 2023-11-13 15:16:33 -05:00
Jonathan Barrow
59febaaf43
DateTime type methods no longer return underlying value 2023-11-13 15:14:33 -05:00
Jonathan Barrow
bdffdc3604
added PID type 2023-11-13 01:21:45 -05:00
Jonathan Barrow
1194ad3960
prudp: added Copy method to packets 2023-11-12 16:56:07 -05:00
Daniel López Guimaraes
ffc71a97b7
stream: NEX version checks when not using PRUDP 2023-11-12 20:54:14 +00:00
Daniel López Guimaraes
b39018bb19
prudp: Create copies of packets for fragments
This makes the resend scheduler to not have the same pointer to a packet
when sending fragments.
2023-11-12 20:52:48 +00:00
Daniel López Guimaraes
94b4f8343a
test: Rename OnReliableData to OnData 2023-11-12 20:50:30 +00:00
Jonathan Barrow
18c6d73fc6
added debug logs. delete later 2023-11-12 06:49:29 -05:00
Jonathan Barrow
dfbbc192ba
added OnClientRemoved and OnDisconnect on PRUDPServer 2023-11-12 03:01:05 -05:00
Jonathan Barrow
de80be2bc2
added FindClientByPID field on PRUDPServer 2023-11-12 02:08:49 -05:00
Jonathan Barrow
463ce86d0e
fixed SetProtocolMinorVersion godoc comment 2023-11-12 01:29:37 -05:00
Jonathan Barrow
0e4ff2bec9
added FindClientByConnectionID field on PRUDPServer 2023-11-12 01:28:44 -05:00
Jonathan Barrow
9f875c6e5e
added StationURLs field on PRUDPClient 2023-11-11 21:28:34 -05:00
Jonathan Barrow
571a25d155
added ConnectionID field on PRUDPClient 2023-11-11 21:11:32 -05:00
Jonathan Barrow
8d404a5066
renamed OnReliableData to just OnData 2023-11-11 20:15:34 -05:00
Jonathan Barrow
deb29eebfd
removed hard coded connection signature key 2023-11-11 14:47:09 -05:00
Jonathan Barrow
3a41b79b63
use protocol minor version in streams 2023-11-11 14:34:13 -05:00
Jonathan Barrow
0bf62394cf
fix PRUDPv1 configuration negotiation 2023-11-11 13:26:17 -05:00
Jonathan Barrow
abee515814
fixed casing in godoc comments 2023-11-11 12:53:26 -05:00
Jonathan Barrow
f6782dab70
only write RMC parameters if they exist 2023-11-10 22:50:23 -05:00
Jonathan Barrow
6985ea422a
export source and destination data on PRUDP client 2023-11-10 22:48:23 -05:00
Jonathan Barrow
10febb70cc
Added PasswordFromPID to PRUDP server 2023-11-10 21:20:04 -05:00
Jonathan Barrow
b4b55e217b
added OnReliableData to server interface 2023-11-10 21:18:15 -05:00
Jonathan Barrow
f9f4d3bca4
total rewrite 2023-11-10 01:28:25 -05:00
Jonathan Barrow
848280dd40
Merge pull request #40 from PabloMK7/runanddelete
Add RunAndDelete to MutexMap to fix race condition
2023-11-04 15:31:22 -04:00
PabloMK7
7c742784ba Minor optimization 2023-11-04 13:24:26 +01:00
PabloMK7
537c4d1dfd Change description 2023-11-04 13:22:10 +01:00
PabloMK7
1fe8a91093 Add RunAndDelete to MutexMap to fix rc 2023-11-04 13:17:05 +01:00
Jonathan Barrow
9d6e91cbde
Merge pull request #34 from PretendoNetwork/stability
Stability - Better concurrent map API and deferred packet handling
2023-09-26 15:15:52 -04:00
Jonathan Barrow
aa2922193a
fixed comments for Remaining and ReadRemaining 2023-09-26 15:15:00 -04:00
Jonathan Barrow
38a6143269
Removed unused debug stuff 2023-09-26 14:48:13 -04:00
Daniel López Guimaraes
8566ab2e89
Remove disconnect packet log 2023-09-25 16:17:59 +01:00
Jonathan Barrow
7641d12e71
Merge pull request #39 from PabloMK7/timeoutincrement
Add timeout increment to packet resend manager
2023-09-18 16:42:58 -04:00
PabloMK7
a5eaf92bb2 Apply suggestions 2023-09-18 22:40:58 +02:00
PabloMK7
ea3bb1aef7 Fix tab 2023-09-18 19:32:28 +02:00
PabloMK7
e6cad41886 Add timeout increment to packet resend manager 2023-09-18 19:05:40 +02:00
Jonathan Barrow
9efdeb4d97
Merge pull request #38 from PabloMK7/fixdoubeclose
Prevent double StopTimeoutTimer call
2023-09-15 12:09:41 -04:00
PabloMK7
46857e0637 Prevent double StopTimeoutTimer 2023-09-15 18:04:42 +02:00
Daniel López Guimaraes
e90741c57b
Merge pull request #37 from PabloMK7/fixdeadlock 2023-09-15 16:38:18 +01:00
PabloMK7
0fbcb7d1be
Update mutex_map.go
Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
2023-09-15 17:36:06 +02:00
PabloMK7
1e5d8f9fd7
Update Each godoc 2023-09-15 17:30:17 +02:00
PabloMK7
d08058f95f
Apply suggestions from code review
Co-authored-by: Jonathan Barrow <jonbarrow1998@gmail.com>
Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
2023-09-15 17:28:03 +02:00
PabloMK7
a5810b2e85 Actually fix the deadlock 2023-09-15 15:35:35 +02:00