Cold Help System: Programming: ColdC Reference Manual: Functions: Network: open_connection()


INTEGER open_connection(STRING host, INTEGER port)

This function opens an outbound connection to host at port port, on the current object. If the host address host is invalid, the error ~address is thrown. If the socket could not be established, ~socket is thrown. For more information, see the section on Networking.


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


the Cold Dark