havij000
30th September 2013, 12:10
Hi every body,
I am new to Qt and now want to write a TCP client/server socket program in Qt.
Unfortunately when I use the connect funtion, it returns -1 even to make a connection to localhost.
Who know what the problem is?
:confused:
Added after 36 minutes:
how can run a client and a server application on two different computer in a network?
Both the client and the server are c++ application which are wtitten in Qt but not with the QNetwork.
I am new to Qt and now want to write a TCP client/server socket program in Qt.
Unfortunately when I use the connect funtion, it returns -1 even to make a connection to localhost.
Who know what the problem is?
:confused:
Added after 36 minutes:
how can run a client and a server application on two different computer in a network?
Both the client and the server are c++ application which are wtitten in Qt but not with the QNetwork.