DataSocket Close Function

Closes a data connection you specify in connection id.


icon

Inputs/Outputs

  • cdsrn.png connection id

    connection id is a connection refnum that uniquely identifies the connection.

  • ci32.png ms timeout (0)

    ms timeout (0) specifies the number of milliseconds the function waits for the pending operation to complete.

    The default is 0, which means the function does not wait for the operation to complete. Use a timeout value of –1 to make the function wait until the operation completes.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

    This node runs normally even if an error occurred before this node runs.

  • ibool.png timed out

    timed out returns FALSE if the operation completed within the timeout interval with no errors. If ms timeout is 0, timed out is FALSE.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.