mtpc
mtpc

Reputation: 25

Winsock connect functionproblem in Qt

I am trying to use WINSOCK in Qt to create a TCP connection. However, when I write connect for TCP connect, there appears Qt's connect function.

How can I differ them?

Upvotes: 0

Views: 1108

Answers (1)

nh_
nh_

Reputation: 2241

try

retcode = ::connect(Socket, (struct sockaddr *)&server_addr, sizeof(server_addr));

Upvotes: 2

Related Questions