PDA

View Full Version : communication between two computer on network by tcp



gauravg
6th June 2012, 11:54
hi all please tell how two computer will communicate on network by Tcp/Ip protocol.
should i have to implement Qtcpserver class and QtcpSocket class as client. Is there is any need to implement QTcpserver.



thanks with regards:
gauravg

wysota
6th June 2012, 11:56
hi all please tell how two computer will communicate on network by Tcp/Ip protocol.
They will exchange streams of data according to a protocol you implement.


should i have to implement Qtcpserver class and QtcpSocket class as client. Is there is any need to implement QTcpserver.

As far as TCP is concerned, one host acts as a server and the other acts as a client.