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

std::string Network::LocalSocket::readn ( std::string &  filename,
unsigned int  size 

read a string and put the client named socket name in filename

size represente the number of byte to read

Definition at line 332 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, filename, size);

Generated by  Doxygen 1.6.0   Back to index