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 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -