I have recently created a PEAR2 package that attempts to simplify work with sockets called PEAR2_Net_Transmitter, and although it currently answers all of my needs (and then some), I want to improve on it further to make it answer as much scenarios as possible, while trying to keep it as simple as possible.
So... whether you are just starting with sockets or you know PHP's sockets implementation inside-out, I'd like to know what aspects of working with sockets do you find tedious*, annoying or simply baffling? What are you actually using sockets for? Or even what would you be using sockets for? Anything that is vital for you that you find missing from the current version of the package?
* For me, it was data integrity, especially at large data. That's the initial inspiration behind the package, and what's currently nailed.