| Just out of curiosity, is it possible to receive on a TCP connection in SC? I know you can call “connect" on a NetAddr to connect with TCP (rather than UDP) and send messages on that connection…that much works for me. But TCP is bidirectional, and I can’t see any way to set up SC to receive messages on the TCP connection…the NetAddr has a raw pointer to the socket, which isn’t very useful in sclang. Is there any way to do this?
Thanks, Glen.
On 30.12.2016, at 12:56, Chris Sattinger <crucialfelix@xxxxxxxxx> wrote:
For instance ack and resend.
Really I don't think we have a problem. UDP works well. I don't think I've ever noticed a dropped message, but I'm sure this happens if you are on the real internet.
I’ve had a lot of connectivity problems in WLANs that were configured to be part of a larger intranet and/or that provide two networks (e.g. 5G and 3G). But I don’t assume this would become better with TCP. We can fix or improve TCP and people can find out in the real world if it's better for certain things.
Yes
On Fri, Dec 30, 2016 at 11:37 AM Julian Rohrhuber <julian.rohrhuber@xxxxxxxxxxxxxxxxxx> wrote:
On 30.12.2016, at 08:07, Chris Sattinger <crucialfelix@xxxxxxxxx> wrote:
Good article about why you should always use UDP for realtime games: http://gafferongames.com/networking-for-game-programmers/udp-vs-tcp/
This seems to be a very good argument to just implement any necessary feature specifically on top of udp where you need it.
|