Hello every one i am working on a project where i have to create a Application to control a Embedded System using TCP protocol. The embedded system runs on a ARM 9 processor on which they have flashed a TCP stack, There is a IP address and ID for the processor. Now my problem is what i should use a QTcpSocket or a QTcpServer cause i will be sending some control commands to the embbeded system and it will reply back to me the status of its sub systems.. So there will be both sending and receiving of data. The Network example only describe how to either send data using QTcpServer or receive data using QTcpSocket. Should i use both QTcpSocket and QTcpServer in my program to communicate both ways. .?? Pls suggest me something this is the first time i am working on a networking project.

Thank you