U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » my TCP client/server don't work correctly
Re: my TCP client/server don't work correctly [message #57049 is a reply to message #57048] Mon, 17 May 2021 23:29 Go to previous messageGo to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello again Oblivion !

Only having one socket and send multiple data across this one is what I aim for. That why I dont do a for in my example.

Probleme is, when I connect to the server. Neither my first nor my second data is received by server. Instead I receive a Null string from server (probably when I destroy the client socket) (this behavior can be seen in the console screen)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stopping ReadStdIn() function
Next Topic: How to configure for SDL2 project?
Goto Forum:
  


Current Time: Mon Oct 12 22:05:11 GMT+2 2026

Total time taken to generate the page: 1.35921 seconds