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

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


Nov
22
awarded  Popular Question
Apr
12
awarded  Scholar
Apr
12
accepted Network communication via Sockets. Is there a better way?
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
awarded  Supporter
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?
Apr
12
awarded  Student
Apr
12
asked Network communication via Sockets. Is there a better way?
Apr
12
awarded  Autobiographer