Documentation

xPCClosePort

Close TCP/IP communication connection

Prototype

void xPCClosePort(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Description

The xPCClosePort function closes the TCP/IP communication channel opened by xPCOpenTcpIpPort. Calling this function is equivalent to calling xPCCloseConnection and xPCDeRegisterTarget.

Note

RS-232 communication type has been removed. Configure TCP/IP communication instead.

Introduced before R2006a

Was this topic helpful?