winapi - Where to place Winsock declarations in Win32 gui program? -


so have win32 project windows procedure , everything. want client able connect server, @ same time able process window messages. figured part out. asynchronous sockets client. question have is, put wsadata, server structure, , socket() declarations? in winmain function? windows procedure?

in short, how integrate winsock implementation winapi gui? how combine two? tutorials ive found online deal either winsock or winapi, never seem mix two.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -