#include <NetworkStream.hpp>
Public Methods | |
NetworkStream () | |
NetworkStream (socket_t s) | |
~NetworkStream () | |
bool | connect (const std::string &name, unsigned int port) |
bool | connect (const char *name, unsigned int port) |
void | close () |
int | write (const void *buffer, size_t length) |
int | read (void *buffer, size_t length) |
int | blockingRead (void *buffer, size_t length) |
int | blockingWrite (const void *buffer, unsigned int length) |
bool | alive () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|