Tutorials and examples:
Zend.com: Writing Socket Servers in PHP Dev Shed - Socket Programming With PHP ONLamp.com: Introduction to Socket Programming with PHP Micah Lansing: MicahServer