Cicode Programming Reference > Cicode Function Categories > Communication Functions Introduction > ComReset

ComReset

Resets the communication port. This function can only be called from an I/O Server.

Syntax

ComReset(hPort)

hPort:

The communication port handle, returned from the ComOpen() function. This handle identifies the table where all data on the associated communication port is stored.

Return Value

0 (zero) if the write is successful, otherwise an error is returned.

Related Functions

ComOpen, ComClose, ComRead, StrGetChar

Example

See ComOpen

See Also

Communication Functions