If you want a properly object oriented, multithreaded modification of SmallSockets, one which I wrote and use for various things can be found at <a href="http://homepage.mac.com/castiglione/code/Socket.h" target="_blank">Socket.h</a> and <a href="http://homepage.mac.com/castiglione/code/Socket.m" target="_blank">Socket.m</a>. I fixed up a couple of the bugs in it, too. Not quite sure of the legalities of this, but I did include the original license like it said and clearly mark that it was a modification, so it should be okay.