How can I recive WM_WINSOCK messages ,but no WndProc ?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
justiceforall

How can I recive WM_WINSOCK messages ,but no WndProc ?

Post by justiceforall »

I make a socket object , and it can connect to the server, but when the server send me message ,how can i get it, NO WndProc , and the onEvent function no EventType like " WM_WINSOCK", how can i do?

help me ,thanks !
lantis
Posts: 64
Joined: Thu Jun 17, 2004 2:46 pm

Post by lantis »

Make a Hook , its easy ;)

But better use non bloked socket , except stupid Windows asynchronous sockets
Post Reply