CL_Socket::send - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Socket::send

Writes data to socket. Returns the amount that was written. Writes data to socket, using the specified destination host. Writes data to socket. Returns the amount that was written.

    	int send(
    		const void* data, int size);

    	int send(
    		const void* data, int size, const CL_IPAddress& dest);

    	int send(
    		const std::string& string);

See also:

CL_IPAddress | CL_Socket

Questions or comments, write to the ClanLib mailing list.