Actually, after sending the first message I looked further and I saw another set of messages regarding function.accept-connect. I have not done what your asking here, and so I would not be able to give any more advice, but it looks like someone else mentioned to you in a prior message to read
http://www.php.net/manual/en/function.accept-connect.php
This url seems to have what your asking about, but then again I haven't done it.
I hope this helps.
John