persistent socket

This is a discussion on persistent socket within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi all, Since noone could help me in c.l.php I'll try it here. Is there a way ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2003
Ruben van Engelenburg
 
Posts: n/a
Default persistent socket

Hi all,

Since noone could help me in c.l.php I'll try it here.
Is there a way to keep a socket open even after leaving the current
script? What I want to do is save the socket descriptor in a session
variable and reuse it in other scripts. The connection needs to remain
established.
Since the PHP manual claims that pfsockopen opens a persistent socket
connection I expected that function do behave like I want, but it
doesn't. I don't see the difference between pfsockopen and fsockopen.
Has anyone accomplished this before? I saw a lot of postings from people
with the same problem, but noone with a solution.
Thank in advance.

Regards,
Ruben.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0