How can I use the pfsockopen function ?
If I build up a persistent socket-connection with pfsockopen, I have to save the sockethandle, so that I an refer it later.
But how shall I do it ?
I tried to save the handle with session_register in session but I think that it isn´t possible to save a file- or socket-handle in a session.
but how shall I send data through the socket-connection after the page is reloaded ?
Hope anybody knows.
Plasm
If I build up a persistent socket-connection with pfsockopen, I have to save the sockethandle, so that I an refer it later.
But how shall I do it ?
I tried to save the handle with session_register in session but I think that it isn´t possible to save a file- or socket-handle in a session.
but how shall I send data through the socket-connection after the page is reloaded ?
Hope anybody knows.
Plasm