Home | All Classes | Grouped Classes | Index | Search

Class CL_InputSource_Socket

InputSource Socket Class More...

Derived from: CL_InputSource
Derived by: none
Group: Network (Sockets)

#include <ClanLib/network.h>

Construction:

CL_InputSource_Socket

InputSource Socket Constructor.

Attributes:

tell

Returns current position in input source.

size

Returns the size of the input source

Operations:

read

Reads larger amounts of data (no endian and 64 bit conversion).

open

Opens the input source. By default, it is open.

close

Closes the input source.

clone

Make a copy of the current inputsource, standing at the same position.

seek

Seeks to the specified position in the input source.

push_position

Pushes the current input source position. The position can be restored again with pop_position.

pop_position

Pops a previous pushed input source position (returns to the position).

Detailed description:

!group=Network/Sockets! !header=network.h!


Questions or comments, write to the
ClanLib mailing list.