Skip to content

_port_close

bergsma edited this page Sep 26, 2014 · 5 revisions

#port_close

###Close a port II handle opened by port_open, port_service, or port_hsms.

Syntax

status = port_close socket ;

Arguments

  1. handle socket

The port II handle opened by port_open, port_service, or port_hsms.

Return Value

str status
  • $ACKNOWLEDGE : Socket is closed.

The STATUS variable is set to $ACKNOWLEDGE

  • 0 : No such socket.

The STATUS variable is set to %port

Warnings

  • %port : No such socket.

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = port_close socket ;

Description

  • None

Examples

puts "Create an example for the function 'port_close'" ;

Related Links

port_open

Clone this wiki locally