Utility for check a server/client gaplic‘s running as thread or subprocesses and stress the connections.
It uses ginsfsm.c_srv_sock.GServerSock and ginsfsm.c_sock.GSock.
Run two gaplics. One is the server, the other the client.
Stress with many connections.
Server GObj.
Name | Type | Default value | Description |
---|---|---|---|
connections | int | 0 | Limit of connections to be reached. |
verbose | int | 0 | Increase output verbosity. Values [0,1,2] |
Input-Events:
- 'EV_TIMEOUT': Timer over.
Start the machine.
'EV_CONNECTED': New client.
'EV_DISCONNECTED': Client disconnected.
Output-Events:
- 'EV_START_TIMER': Start timer.
Client GObj.
Name | Type | Default value | Description |
---|---|---|---|
connections | int | 0 | Limit of connections to be reached. |
verbose | int | 0 | Increase output verbosity. Values [0,1,2] |
Input-Events:
- 'EV_TIMEOUT': Timer over.
Start the machine.
'EV_CONNECTED': Client connected.
'EV_DISCONNECTED': Client disconnected.
Output-Events:
- 'EV_START_TIMER': Start timer.