Question about how to use pfsockopen()
| From: | Arjan Gijsberts | Date: | Mon, 24 Feb 2003 02:42:58 +0000 |
| Subject: | Question about how to use pfsockopen() | ||
| Groups: | php.lang | ||
| Request: | Send a blank email to php-lang+get-462@lists.php.net to get a copy of this message | ||
I'd like to know how to use the pfsockopen() method correctly. I'm
experimenting with creating a webbased IM client. I was hoping I could
resume a socket from script to script (by using POST or GET or a Session).
This is not working. In the documentation I found that php looks if a
connection to the server:port exists yet. This is not working as I hoped it
would be!
Could someone please explain how to use pfsockopen() and if I generally can
create a persistant socket from a script (not a command prompt php program).