Im writing a Win32 chat program.
When i retrieve two lines from the Listbox to send, only the first line gets sent.
I checked the char* in send(), it contains both lines.
The first line can be any length, it gets there so its not a problem with the size.
I tried to loop recv() too, it received the first line several times but not the second.
The worse is that i dont even know on which side is the problem.
Any idea would be highly appreciated.