Keep-Alive Connection Example

This page shows how to establish a persistent connection to a server using the Connection and Keep-Alive headers. The Connection: keep-alive request header indicates that the client requires a persistent connection. Keep-Alive: timeout = 5, max = 100 sets the timeout value.
Loading...