MFEM
v3.0
|
#include <isockstream.hpp>
Public Member Functions | |
isockstream (int port) | |
bool | good () |
void | receive (std::istringstream **in) |
Start waiting for data and return it in an input stream. More... | |
~isockstream () | |
Data type for input socket stream class. The class is used as server to receive data from a client on specified port number. The user gets data from the stream as from any other input stream. This class is DEPRECATED. New code should use class socketserver (see "socketstream.hpp").
Definition at line 26 of file isockstream.hpp.
|
explicit |
The constructor takes as input the port number on which it establishes a server.
Definition at line 37 of file isockstream.cpp.
mfem::isockstream::~isockstream | ( | ) |
Virtual destructor. If the data hasn't been sent it sends it.
Definition at line 156 of file isockstream.cpp.
|
inline |
Definition at line 41 of file isockstream.hpp.
void mfem::isockstream::receive | ( | std::istringstream ** | in | ) |
Start waiting for data and return it in an input stream.
Definition at line 116 of file isockstream.cpp.