PLearn 0.1
|
#include <string>
#include <plearn/base/PrUtils.h>
#include <plearn/io/PStream.h>
#include <plearn/io/PrPStreamBuf.h>
#include "openSocket.h"
#include <nspr/prio.h>
#include <nspr/prerror.h>
#include <nspr/prnetdb.h>
#include <plearn/io/pl_log.h>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Defines | |
#define | PL_LOG_MODULE_NAME "openSocket" |
Functions | |
PStream | PLearn::openSocket (const string &hostname, int port, PStream::mode_t io_formatting, const int timeout) |
Opens a socket and returns an attached PStream. |
Definition in file openSocket.cc.
#define PL_LOG_MODULE_NAME "openSocket" |
Definition at line 52 of file openSocket.cc.