Sample code for 30+ languages & platforms
PHP

WebSocket Examples for Chilkat2 PHP