Home | All Classes | Grouped Classes | Index | Search

# CL_Socket::recv

Reads data from the socket. Returns the amount that was read. Reads data from the socket, storing the from address in the passed parameter.

    	int recv(
    		void* data, int size);

    	int recv(
    		void* data, int size, CL_IPAddress& from);

See also:

CL_IPAddress | CL_Socket

Questions or comments, write to the ClanLib mailing list.