posted 20 years ago
Hello Everybody,
I get stuck up in the following code. I am trying to do the following:
1. Making a connection
2. Writing something on it.
3. Reading from the socket.
Surprisingly while trying to read from the socket it fails toread anything in first attempt. Even trying available() method returns 00. but a subsequent reading always gives me the data back available on the socket. Though even in this attempt the available() method returns 0.
Why it is showing such a behaviour? Am I doing something wrong? Can you pl help me
regards,
Arun