dimanche 19 avril 2015

Set the content of a Socket in a String variable C++

I have a C++ server, and it works perfectly. Now, I want to put the content of a Client socket into a variable.


I'll explain: If a Client sends "My name is John", the server should puts "My name is John" into a string var.


If there is a way to do that, someone can post the code?


Aucun commentaire:

Enregistrer un commentaire