Changes between Version 14 and Version 15 of Software/Gateway


Ignore:
Timestamp:
08/31/10 22:08:46 (14 years ago)
Author:
art
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/Gateway

    v14 v15  
    125125  
    126126To establish communication between a client and OpenBM-Gateway server following steps has to be done: 
     127{{{ 
    127128 1. Client opens a socket to server's IP-address and port (i.e. 127.0.0.1:4287) 
    128129 2. Client send '''Hello''' message and wait for replay from server for 3-5 seconds  
     
    135136 6. If server didn't responded, client retries to send a '''Ping''' next two times. If still no response -> connection died 
    136137 7. In order to stop connection, client send '''Disconnect''' message and closes its socket. 
    137  
     138}}} 
    138139Once the connection is either closed by the client or lost (server did not respond to ping) the connection must be reestablished again -> goto 1. If server does not receive any ping message within certain amount of time (i.e. 10 sec), then the connection to the client will be closed. 
    139140