You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, December 28th 2011, 11:23am

Sending data from client to server

Hello everybody

I have a server which accepts string as an input. And this server creates another string as a response according to the string that we sent from client. I hace to write this client-side code.
I thought that my client code should include two parts. First one is to send string data to server, and second one is receiving the response.
But I can't apply this idea to code and I'm confused. I'm waiting for your helps.

Thank you.

2

Wednesday, December 28th 2011, 12:20pm

google for the qt network example.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.