In fact standard C and C++ have no concepts of sockets. Like with
most things in UNIX, "UNIX sockets", actually BSD sockets, are a C
only API. So write a wrapper class.
Eventually after a few system calls, you will get a socket descriptor.
Which is the same thing as a file descriptor that fstream can than
use.
--
Dan Nguyen | It is with true love as it is with ghosts;
nguy...@msu.edu | everyone talks of it, but few have seen it.
d...@debian.org | -Maxime De La Rochefoucauld