Home |All Classes |Grouped Classes |Index |Search

Class CL_NetComputer

Class representing a computer in a network game. More...

Derived from:

None

Derived by:

None

Group:

NetSessions (Network)

#include <ClanLib/network.h>

Class Members:

Construction:

CL_NetComputer

Creates a NetComputer object.


Attributes:

get_name

Returns the name (address and port) of the computer.

get_session

Returns the netsession that the computer is attached to.

is_disconnected

Returns true if computer is disconnected.

get_disconnect_reason

Returns the disconnect reason.

operator==

Returns true if objects are the same.

operator<

Returns true if the other netcomputer is less.

operator>

Returns true if the other netcomputer is greater.


Operations:

disconnect

Disconnects the computer from server.

send

Send packet to the specified channel.