Monday, April 11, 2005
Status Update

The Chungles server/client classes are now being developed. The latest cvs commit now has the ability to share and view shares. This is configurable via a config.xml file in the working directory. Naturally things will change -- it's very rudimentary. The config file has a group called 'shares' and in that, 'share' tags with a name and map property. Name is the friendly Chungles share name and map is the local filesystem's path to the share. I'll have a pretty GUI configuration editor, don't worry.

The protocol for Chungles right now is fairly simple and straightforward. Here's a rundown of what I have thusfar:

- Server listens on port 6565
- Protocol is binary based.
- Client sends to server command it wishes to execute followed by parameters right after terminated by newline character.
- Ex. "LIST_SHARES/\n" (where LIST_SHARES is defined as an integer 2) will ask the server for all the shares it has
- Server replies to a LIST_SHARES command by listing the path and sending file/directory names back denoting if it is a file or directory with a 'F' or a 'D' character before the name and signals it is done listing with a terminator character and newline (integer 1 + \n)
- Ex. "D/dump\nD/dump2\nTERMINATOR\n"
posted by Alex at 5:39 PM 0 comments



Archives:
04/06/2005   04/08/2005   04/11/2005   04/12/2005   04/17/2005   05/08/2005   08/04/2005   08/06/2005   08/11/2005   10/08/2005   03/28/2006   04/19/2006   05/02/2006   09/29/2006   10/12/2006   11/01/2006   11/03/2006   11/05/2006   11/16/2006   11/21/2006   12/01/2006   12/03/2006   12/04/2006   12/07/2006   12/09/2006   12/11/2006   12/26/2006   01/28/2007   10/27/2008   08/08/2009