![]() |
MFEM
v4.6.0
Finite element discretization library
|
#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.
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 40 of file isockstream.cpp.
mfem::isockstream::~isockstream | ( | ) |
Virtual destructor. If the data hasn't been sent it sends it.
Definition at line 169 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 119 of file isockstream.cpp.