|
From: Brett K. <in...@in...> - 2005-08-18 18:52:25
|
With the Backgammon library just about finished, it's time to start thinking about handling the FIBS part of the deal. Here's is sort of a braindump of everything I know (or think I know) about = how FIBS works: - The server listens on port 4321, but this should be configurable since I'm sure there is more than on server out there running this software. - They're sent as plain text, ala "command args" - It's rumored that the server requires 1 second between each command that = is sent (which really shouldn't be a big deal, since there won't be much of a need for sending commands any faster than that). Throttling should also = be configurable. I don't think there's much more to it than that. Now, the protocol describ= es quite a few commands/messages (something like 60-80, judging by a quick scan of the web page), so we'll need handlers for each of them... As far as how the socket itself will work, I'm pretty sure a vanilla python socket will do the trick, since we're only going to be communicating with a single host. I'm very open to suggestions here, since my level of knowledge in this area is somewhat lacking :) As James said earlier, barring unforeseen issue, the backgammon lib portion= of the code will be considered "closed" if nobody raises any serious objections to it in the next couple of days. Please let me know if this is a problem. That's all for now, looking forward to hearing reactions to this stuff... --=20 Brett Kelly in...@in... http://inkedmn.com:8000 GPG Public Key: http://inkedmn.com:8000/stuff/inkedmn.asc |