Logo Search packages:      
Sourcecode: libsocket version File versions  Download package

std::string Network::LocalSocket::readn ( unsigned int  size  )  [virtual]

read a string from socket

size represente the number of byte to read

Implements Network::Socket.

Definition at line 314 of file localsocket.cc.

References _read_line_bin().

    // _read_line_bin is bufferised with the same buffer as textual
    // protocols, so this function can be used for binary and text
    // protocols.
    return _read_line_bin(_socket, size);

Generated by  Doxygen 1.6.0   Back to index