SemysServerCreateProt

01 Creates and starts a server for given option string.
02

int SemysServerCreateProt(HSemysServer *pServerHandle, SemysServerListener const *pListener, char const *opt);

03 Parameters:
  • pServerHandle: Pointer to a server handle that will receive the handle value of the created server object.
  • pListener: The owner interface for the server.
  • opt: The option string describing the server that should be created.
04 Return Values:
0 if the server 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 server could be created it is automatically started and tries to enter the listening state.
08 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System, SemysServerSetListenerProt()

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