Thanks.
By the way, another question.
In a TCP session, i want that the server make 2 consecutive writes, how can i read this in the client.
If i make 2 read's the second answer is never received...
Type: Posts; User: asdffa
Thanks.
By the way, another question.
In a TCP session, i want that the server make 2 consecutive writes, how can i read this in the client.
If i make 2 read's the second answer is never received...
Hi.
How can i find out when a client closed a socket, using select.
The problem was with another function, called in that piece of code (it works now).
Thanks for all the help.
The problem is that the function is printing request in an infinite loop and don let me write the string, here is an example of what is happening:
Request:
> GET user2:4 user1:5
(the...
Hi.
I want to read several words from stdin (save them in string) and then process this string.
The problem is that my code works for the first time but when i finish processing i cannot read a new...