133 reputation
5
bio website daysconsulting.com
location United States
age 28
visits member for 3 years, 4 months
seen Apr 12 '11 at 22:36

Computer Science major at Brigham Young Universit. Program in C# and playing with the mobile.


Apr
12
comment Network communication via Sockets. Is there a better way?
Well, since I'm sending the absolute positions and rotations of the objects, I don't have to worry about getting out of sync. I changed my TCP over to UDP and also started sending and parsing a raw byte[] as opposed to object serialization. This brought down message size from 800 bytes to 56 bytes. It works pretty well. Thanks for the suggestion!
Apr
12
comment Network communication via Sockets. Is there a better way?
UDP... Layer 3 really isn't my realm. I'll give it a go! And yes, I am sending a little bit more data than I was anticipating. Like 800 bytes more... Also, what about sending the map object? it's 2-4 mb, but only needs to be sent across once. How should I handle that?