Re: how to close a socket output, leave input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# nick.yim@xxxxxxxxxx / 2006-12-08 09:38:44 +0800:
> Hello All,
> 
>     1. create a socket
>     2. write something
>     3. (just) close output
> 	4. read the server response
>     5. close the socket
> 
>     step 3, i mean close output, let the server know the client send complete

    socket_shutdown() might help

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux