Chapter 14

The Mailslot

 

 

 

COMPLETED PROJECT DOWNLOAD

 

What do we have in this chapter?

 

  1. Mailslot Implementation Details

  2. Mailslot Names

  3. Message Sizing

  4. Compiling Applications

  5. Error Codes

  6. Basic Client/Server

  7. Mailslot Server Details

  8. Mailslot Client Details

  9. Additional Mailslot APIs

  10. Platform and Performance Considerations

  11. 8.3-Character Name Limits

  12. Inability to Cancel Blocking I/O Requests

  13. Timeout Memory Leaks

  14. Program Examples

  15. Client Program Example

  16. Server Program Example

  17. 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 >