Timeline for Why do I only receive the first message I send with SDLNet?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 24, 2018 at 11:51 | vote | accept | Emre Kaya | ||
| May 24, 2018 at 11:40 | comment | added | Emre Kaya | sorry but you was right :D i take all messsages with your way thank you too much bro really thank you. | |
| May 24, 2018 at 11:37 | comment | added | user35344 | Well in that case I think you should show more of your code in the initial question. | |
| May 24, 2018 at 11:23 | comment | added | Emre Kaya | like this while{if(SDLNet_CheckSockets(socketSet, 0)>0) { if(SDLNet_SocketReady(clientSocket)>0) { if(SDLNet_TCP_Recv(clientSocket, buffer, 5000)>0) { //there i take only first message } } } } | |
| May 24, 2018 at 11:22 | comment | added | Emre Kaya | no client.exe code already inside while but i am still taking only first message | |
| May 24, 2018 at 11:17 | history | answered | user35344 | CC BY-SA 4.0 |