SemysConnCreateProt

01 Creates and starts an outgoing (client) connection for given option string.
02

int SemysConnCreateProt(HSemysConn *pConn, SemysConnListener *pListener, char const *opt);

03 Parameters:
  • pConnHandle: Pointer to a connection handle that will receive the handle value of the created connection object.
  • pListener: The owner interface for the connection.
  • opt: The option string describing the connection that should be created.
04 Return Values:
0 if the connection could be created or any other value meant as error code.
05 Both the option string and the meanings of the error return codes are transporter type specific.
06 The contents of the listener structure will be copied into an internal buffer.
07 If the connection could be created it is automatically started and tries to connect to the server.
08 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System, SemysConnSetListenerProt()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.