Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » TCP IP » TcpIp_Close

TcpIp_Close


Module: FoundationLite

Close a connected TCP socket gracefully.

Name Type Description
inSocket SocketId Connected socket Id.

Description

Closes the TCP/IP socket with underlying connection and releases resources owned by the socket.

All sockets, created with TcpIp_Connect and TcpIp_Accept should be closed with this filter after their use, regardless of the state of the connection and regardless of the fact whether the connection was closed by the other side.

Hints

Examples

Description of usage of this filter can be found in examples and tutorial: IO HTTP Image Download, TcpIp Shoutbox Server, TcpIp Shoutbox Client.

Remarks

User manual

For more information about using this filter, please follow the link: Using TCP/IP Communication.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also

  • TcpIp_Accept – Accepts a connection from a remote client.
  • TcpIp_Connect – Connects as a client to a remote TCP server socket.