Changes between Version 14 and Version 15 of Software/Gateway
- Timestamp:
- 08/31/10 22:08:46 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/Gateway
v14 v15 125 125 126 126 To establish communication between a client and OpenBM-Gateway server following steps has to be done: 127 {{{ 127 128 1. Client opens a socket to server's IP-address and port (i.e. 127.0.0.1:4287) 128 129 2. Client send '''Hello''' message and wait for replay from server for 3-5 seconds … … 135 136 6. If server didn't responded, client retries to send a '''Ping''' next two times. If still no response -> connection died 136 137 7. In order to stop connection, client send '''Disconnect''' message and closes its socket. 137 138 }}} 138 139 Once 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. 139 140