Advertisement

async socket programming?

Started by February 15, 2001 07:34 AM
0 comments, last by RPGman 23 years, 9 months ago
how do i use select() or another way of doing async socket programming?
--------------------------------------------------------------If it sounds like a good idea, do it. It is much harder to get permission than it is to apologize.

Find a good book on WinSock. Network Programming for Microsoft Windows (MS Press, by Anthony Jones and Jim Ohlund) is a good place to start.

Async socket programming comes in different flavors.

You can use WSAAsyncSelect on Win95/98/NT/2K
You can use WSAEventSelect on Win98/NT/2K (or Win95 with WinSock 2.0 installed)
You can use Overlapped I/O on Win98/NT/2K (or Win95 with WinSock 2.0 installed)
or you can use Completion Ports on WinNT/2K (but not 95/98)

You would probably want to try WSAAsyncSelect or WSAEventSelect. Check the MSDN Library and code web sites for examples programs.

// CHRIS
// CHRIS [win32mfc]

This topic is closed to new replies.

Advertisement