Home > Software engineering >  Help: : WSAAsyncSelect error
Help: : WSAAsyncSelect error

Time:10-07



How to solve this?

CodePudding user response:

The front code to add a line
# define _WINSOCK_DEPRECATED_NO_WARNING

CodePudding user response:

reference 1st floor zhao4zhong1 response:
code front line add a
# define _WINSOCK_DEPRECATED_NO_WARNING


But just close the warning? Shouldn't and inet_addr htons with new inet_pton inet_ntop and replaced with new function?

CodePudding user response:

Using the WSAEventSelect function instead of

Or

Define _WINSOCK_DEPRECATED_NO_WARNINGS macro

CodePudding user response:

reference paschen reply: 3/f
using the WSAEventSelect function instead of

Or

Define _WINSOCK_DEPRECATED_NO_WARNINGS macro


Thank you very much! And I read the book and materials are all examples of vc6.0, and book is new? Always can't live under xp and vc6.0?

CodePudding user response:

A beginner programming were lai development environment is too new,
Just like people born in the early years to pull out lai with uneasiness in the toilet,
  • Related