Cold Help System: Programming: ColdC Reference Manual: Implementation: Networking


ColdC gives the ability to handle network sockets with the following functions:

bind_port() close_connection() connection()
cwrite() cwritef() open_connection()
unbind_port() reassign_connection()

Connections are bound to a connection object. The driver will use the following methods on a connection object:

.connect()
.disconnect()
.failed()
.parse()

There are two types of connections which can be created. The first is a server connection, or a passive connection. To do this the driver listens on a network port and waits for incoming connections. The second type is an client connection, or a active connection. This type of connection is established by the driver to another network host.


Methods | Tasks and Frames | Errors | Security | Networking | Regexps | Files


the Cold Dark