]
To: php [EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 4:17 PM
Subject: [PHP] The stupidest question of the month.
(Okay, now you're prepared...)
I need to write a little program that opens and maintains a TCP socket
connection to a server across the Internet. This little program would
wait
From: René Fournier [EMAIL PROTECTED]
I need to write a little program that opens and maintains a TCP socket
connection to a server across the Internet. This little program would
wait for messages from the server it's connected to, then record those
messages and send a kinda of acknowledgment
(Okay, now you're prepared...)
I need to write a little program that opens and maintains a TCP socket
connection to a server across the Internet. This little program would
wait for messages from the server it's connected to, then record those
messages and send a kinda of acknowledgment Got it.
Since you don't need to put up a server, you can just use fsockopen. If I
recall correctly, passing the timeout argument as 0 means no timeout... If
you use the cli version of php, you can just enter `php -q myscript.php ` on
the command line (doubt this works w/ m$...). The ampersand tells the
4 matches
Mail list logo