Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Wed Sep 03 15:23:53 CEST 2025

Total time taken to generate the page: 0.00546 seconds