Chapter 14:

The Mailslot

 

 

 

C & Winsock: The Kick Start programming tutorials

 

C & Linux Socket

 

Program Example Index

 

C#, VB .NET & C++/CLI Network Programming

 

Windows Device Driver Development & Program Examples

 

ReactOS - Windows OS Binary Compatible Open Source Project - C & C++

 

 

 

COMPLETED PROJECT DOWNLOAD

 

What do we have in this chapter?

  1. Mailslot Implementation Details

  2. Mailslot Names

    Message Sizing

    Compiling Applications

    Error Codes

    Basic Client/Server

    Mailslot Server Details

    Mailslot Client Details

    Additional Mailslot APIs

  3. Platform and Performance Considerations

  4. 8.3-Character Name Limits

    Inability to Cancel Blocking I/O Requests

    Timeout Memory Leaks

    Program Examples

    Client Program Example

    Server Program Example

    Testing Client-Server Program Examples

 

 

Summary

 

This chapter introduced the mailslot networking technology, which provides an application with simple one-way interprocess data communication using the Windows redirector. One of the most useful features of mailslots is that they allow you to broadcast a message to one or more computers over a network. However, because of the broadcast capability, mailslots do not provide reliable data transmission. If you want reliable data communication using the Windows redirector, consider using named pipes, the focus of our next chapter.

 

 

HOME

 

Custom Search

 

 

< Chap 13: IP Helper Functions | Part 1 | Part 2 | Chap 15: The Name Pipes >

 

Share and email to your beloved friends and foes: