Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 396 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 396 Bytes

keep-alive

this example shows the usage of QHttp and keep-alive connections.

##usage

$xbin/> ./keepalive --help

server mode:

$xbin/> ./keepalive server --port 8090

client mode:

$xbin/> ./keepalive client -p 8090 --count 1000

transimts 1000 packets in a single HTTP connection, which is definitly a lot more efficient than making 1000 connection.