framework or library for socket
===

I am planning to display real time data on the website.  Can someone suggest some good library/framework and the language which it needs?  Currently planning PHP, ready to change to other language