Re: [PHP] Socket takes a long time to 'finish'

2007-08-29 Thread Alvar Saenz-Otero
/29, Eddie Dunckley wrote: On Wed 29 Aug 07, Alvar Saenz-Otero wrote: > Hello, > I have a small but somewhat annoying issue. > Whenever I open a socket to another server, the file is read very > quickly, but it takes the up to 30 seconds or so to close the > connection... > >

[PHP] Socket takes a long time to 'finish'

2007-08-29 Thread Alvar Saenz-Otero
Hello, I have a small but somewhat annoying issue. Whenever I open a socket to another server, the file is read very quickly, but it takes the up to 30 seconds or so to close the connection... Here is what I do: $sever = "server.mit.edu"; $url = "/link"; $port = 80; $user_agent = $_SE

[PHP] SSL Client in PHP

2003-09-08 Thread Alvar Saenz Otero
Hi, I found the following e-mail in a PHP Development Archive, and I have exactly the same questions... ufnortunately there was no answer in the archive, only the pointer to e-mail this list. If you can help me, it would be greatly appreciated! Alvar To: php-dev at