Next Topic

Previous Topic

Book Contents

OpenTCP

int OpenTCP(int iPort)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • iPort - The port to open.

Remarks

Opens a TCP socket using the specified port number.