I would like to know if it is possible to create a connection to a web server that keeps the underlying socket alive ( Connection : Keep- Alive header in the HTTP request ) between request ( and can also be closed on request ) Can someone provide me a small example showing it. Thx