Reputation: 25
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
Reputation: 2241
try
retcode = ::connect(Socket, (struct sockaddr *)&server_addr, sizeof(server_addr));
Upvotes: 2