Keeping a socket open
| From: | Ovidiu EFTIMIE | Date: | Mon, 27 Nov 2000 15:29:13 +0000 |
| Subject: | Keeping a socket open | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27388@lists.php.net to get a copy of this message | ||
Hi,
I have protocol between an application server (writen in Java) and a client
who can send a command(opening a socket) to the app server and then waits
for the answer.
Is there a way to read for example the first byte of the answer , verify
this byte and then read a specified lenght without closing the socket?
Thanx,
Ovidiu