Home | All Classes | Grouped Classes | Index | Search
This is the lowlevel raw socket interface in clanlib. More...
Derived from:
none
Derived by:
none
Group: Network (Sockets)
#include <ClanLib/network.h>
Construction:
Constructs a null socket. |
Attributes:
Input source that operates on the socket. | |
Output source that operates on the socket. | |
Returns the raw socket handle (for use with the lowlevel socket functions). | |
Returns the maximum size of a message for message-oriented socket types (CL_Socket::udp). | |
Returns an event trigger that triggers when socket has data ready to be read. | |
Returns an event trigger that triggers when socket is ready for additional data. | |
Returns an event trigger that triggers when an exception occurs on the socket. | |
Returns the socket name. | |
Returns the name of the destination socket we are connected to. | |
Returns the list of broadcast addresses available to this socket. Works for UDP on IPv4 only. |
Operations:
Copy operator. | |
Sets the socket blocking mode. | |
If enabled, don't delay send to coalesce packets. | |
If enabled, do broadcasting. Works for UDP on IPv4 only | |
Writes data to socket. Returns the amount that was written. | |
Push data back into the received data buffer. | |
Reads data from the socket. Returns the amount that was read. | |
Initiate a connection on the socket. | |
Shut down part of full-duplex connection. | |
Bind the socket to the specified address. | |
Listen for connections on the socket. | |
Accept a connection on the socket. |
Signals:
This signal is invoked when the socket has data ready to be read. | |
This signal is invoked when the socket has data ready to be written. | |
This signal is invoked when an exception occurred on the socket. | |
This signal is invoked when the remote side drops the connection, either through timeout or explicit shutdown |
Implementation:
Detailed description:
!group=Network/Sockets! !header=network.h!