Microsoft KB Archive/214396

= MSocUdp.exe Implement UDP Using CAsyncSocket =

Article ID: 214396

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Foundation Class Library 4.2

-



This article was previously published under Q214396



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:

MSocUdp.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

For a sample about using MFC Socket over TCP, please see the following article in the Microsoft Knowledge Base:

185728 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:

175668 MultiSoc: Illustrates Using Sockets in Multiple Threads

192570 MFCAsync: Message-Oriented TCP and Multithreaded Client/Server

Keywords: kbdownload kbfile KB214396

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.