devel:protocol

Protocol

Example session

Example test session with r335 protocol.

$ netcat <host> <port>

PCLIENT 1 b12812a1-ee92-4086-a496-bd9b9974e52d                        
OK 0                                                                  
PSERVER 1 5                                                           

INFO name:datag location:Germany                                      
OK 0                                                                  
MSG -1 foyer 'datag' (5) joined foyer                                 

REQUEST gamelist                                                      
GAMELIST 0 1                                                          
OK 0                                                                  

REQUEST gameinfo 1                                                    
GAMEINFO 1 type:2 player:2:0 timeout:30
OK 0

REGISTER 1
MSG -1 foyer 'datag' (5) joined game 1 (1/2)
OK 0

REQUEST playerlist 1
PLAYERLIST 1 5
OK 0

REQUEST clientinfo 5
CLIENTINFO 5 name:datag
OK 0

QUIT
OK 0
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Get HoldingNuts at SourceForge.net. Fast, secure and Free Open Source software downloads