c++ - WM_SOCKET in Qt -


i plan on using qt tcp/ip , udp assignment getting error states

wm_socket not declared in scope 

wm_socket used in

wsaasyncselect(socket, this->winid(), wm_socket, fd_accept|fd_close); 

i have included qmainwindow, winsock2.h, , ws2tcpip. added mingw library.

am missing include file or else?

there no wm_socket message defined winapi. supposed define yourself.

#define wm_socket (wm_user + 1) 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -