전에이 포함되어 있습니다 :질문 연결
#include <sys/socket.h> /* for socket(), connect(), send(), and recv() */
/* Establish the connection to the echo server */
if (connect(sock, (struct sockaddr *) &echoServAddr, sizeof(echoServAddr)) < 0)
DieWithError("connect() failed");
하지만이 점점 오전 :
TCPClient.cpp:395: error: no matching function for call to ‘ClientHandler::connect(int&, sockaddr*, unsigned int)’
것은 내가 또한 QT를 사용하고있다.
나는 ... 뭔가 :: 나는 당신이 연결 방법으로 자신의 클래스 ClientHandler에있는 것 같아요 :) (....)
코드를 표시하십시오. –