Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about using unreliable UDP protocol in games which requires data exchange via network.
4
votes
Accepted
Why can I only connect one client to my server?
Update
These are the lessons learned from fixing this problem:
We found the following issues when reviewing the network code:
[Client/Server] UdpClient.Receive alters the IPEndPoint you pass to …
2
votes
Accepted
Should I create thread for both UDP and TCP?
A server thread for listening to UDP, and another for listening to TCP, would do. In fact, it is possible in a single thread (baring language and libraries). …
2
votes
Accepted
Sandbox game: TCP or UDP
I know that UDP and TCP are not to be used at the same time, so I should only use one.
Lies. You are not going to use them both on the same socket. … But I don't want to use UDP because I need the packets of a placed/destroyed block to come through 100% of the time
So you need reliability. Well, you can build it on top of UDP. …