The Vish Visualization Shell 0.3
Vish
Wizt::VStream Struct Reference

Network connection routines. More...

#include <ocean/streams/VStream.hpp>

Classes

struct  Aborted
struct  Closed
struct  Error
struct  Exception
struct  TryAgain
struct  TryAgainOnWrite
struct  URL

Static Public Member Functions

static URL getPeername (socket_t socket)
 Get some name (hostname,port) associated with some socket, using the getpeername() system call.
static bool recv (std::string &orig, int socket_id, unsigned howmany)

Detailed Description

Network connection routines.

This class servers rather as a namespace than a class object.

Member Function Documentation

◆ recv()

bool Wizt::VStream::recv ( std::string & orig,
int socket_id,
unsigned howmany )
static

fprintf(stderr, "VStream::recv(): ACQUIRE REMAINING %d data!\n", maxrec-read ); fflush(stderr);

References recv().

Referenced by Wizt::HTTPServer::Client::receive(), and recv().