Re: Introduction to the SSGM 4.0 TCP Logging System [message #434701 is a reply to message #434694] |
Fri, 13 August 2010 07:42   |
 |
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma:
|
General (5 Stars) |
|
|
It's just sent as ASCII over the network, as shown in the protocol outlined above. Crude but effective.
As for using TCP, because it allows multiple simultaneous connections it allows you to do some useful stuff like off-server rank calculations on a separate bot dedicated to the task, where it doesn't matter if it lags behind real time as it doesn't need to respond to user input. At busy times it could buffer input and process it as fast as it can, and catch up to real time during an idle period.
Lots of possibilities...
[Updated on: Fri, 13 August 2010 07:43] Report message to a moderator
|
|
|