PREV UP NEXT C++ socket classes for OS/2

Chapter 9: sockstream Classes

sockstream classes are designed in such a way that they provide the same interface as their stream counterparts do. We have isockstream derived from istream and osockstream derived from ostream. We also have iosockstream which is derived from iostream.

Each domain also has its own set of stream classes. For example, unix domain has isockunix, osockunix, and iosockunix derived from isockstream, osockstream, and iosockstream respectively. Similarly, inet domain has isockinet, osockinet, and iosockinet.

  • iosockstream Generic IOStream classes for sockbuf buffers.
  • iosockinet IOStream classes for inet domain of sockets.
  • iosockunix IOStream classes for unix domain of sockets.