libsocket
Namespaces | Functions
streamclient.cpp File Reference

Basic stream I/O (read/write/send/recv) More...

Go to the source code of this file.

Namespaces

 libsocket
 Contains libsocket elements.
 

Functions

stream_client_socket & libsocket::operator>> (stream_client_socket &sock, string &dest)
 Receive data from socket to a string. More...
 
stream_client_socket & libsocket::operator<< (stream_client_socket &sock, const char *str)
 Send data to socket. More...
 
stream_client_socket & libsocket::operator<< (stream_client_socket &sock, const string &str)
 Send data to socket. More...
 

Detailed Description

Basic stream I/O (read/write/send/recv)

This class provides, similar to dgramclient.cpp resp. dgram_client_socket, the basic I/O functions for all stream-based sockets (TCP and UNIX-SOCK_STREAM).

Definition in file streamclient.cpp.