you could implement the websocket protocol with tcp communication and sockets.
a web socket is afaik just a socket connection that builds its connection via a http header.


Visit my site: www.masterq32.de