MSocUdp.exe Implement UDP Using CAsyncSocket

ID: Q214396


The information in this article applies to:
  • The Microsoft Foundation Classes (MFC)


SUMMARY

The MSocUdp sample is a minimal dialog box-based MFC application that demonstrates how to use the CAsyncSocket class to send and receive directed datagram or broadcast datagram over User Datagram Protocol (UDP).


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:


MSocUdp.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

For a sample about using MFC Socket over TCP, please see the following article in the Microsoft Knowledge Base:
Q185728 SAMPLE: MFCSocs.exe Avoids Two Common MFC Socket Mistakes
For samples about using MFC Socket over TCP from multiple threads, please see the following articles in the Microsoft Knowledge Base:

Q175668 MultiSoc: Illustrates Using Sockets in Multiple Threads
Q192570 MFCAsync: Message-Oriented TCP and Multithreaded Client/Server

Additional query words:

Keywords : kbfile
Version : winnt:
Platform : winnt
Issue type :


Last Reviewed: December 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.