ost::unixstream(3) | Library Functions Manual | ost::unixstream(3) |
ost::unixstream - A more natural C++ 'unixstream' class for use by non-threaded applications.
#include <unix.h>
Inherits ost::UnixStream.
unixstream ()
Construct an unopened 'tcpstream' object. unixstream (const char
*pathname, int buffer=512)
Construct and 'open' (connect) the tcp stream to a remote socket.
unixstream (UnixSocket &unixsock, int buffer=512)
Construct and 'accept' (connect) the tcp stream through a server. void
open (const char *pathname, int buffer=512)
Open a tcp stream connection. void open (UnixSocket
&unixsock, int buffer=512)
Open a tcp stream connection by accepting a tcp socket. void close
(void)
Close the active tcp stream connection. bool operator! () const
Test to see if stream is open.
A more natural C++ 'unixstream' class for use by non-threaded applications.
This class behaves a lot more like fstream and similar classes.
Author
C++ 'fstream' style unixstream class.
Construct an unopened 'tcpstream' object.
Construct and 'open' (connect) the tcp stream to a remote socket.
Parameters
Construct and 'accept' (connect) the tcp stream through a server.
Parameters
Close the active tcp stream connection.
Open a tcp stream connection. This will close the currently active connection first.
Parameters
References ost::UnixStream::connect().
Open a tcp stream connection by accepting a tcp socket.
Parameters
Test to see if stream is open.
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sun Dec 27 2020 | GNU CommonC++ |