Skip to content

_secs_service

bergsma edited this page Sep 26, 2014 · 5 revisions

secs_service

Create a SECS I listen port over TCP/IP.

Syntax

listenSocket = secs_service service ;

Arguments

  1. str service

The name of the service (ie. from /etc/services).

Return Value

handle listenSocket
  • socket : The TCP/IP socket handle in which the SECS I service is listening.

The STATUS variable is set to $ACKNOWLEDGE

  • -1 : Could not find "service" in /etc/services",

The STATUS variable is set to %INVALID

Warnings

  • ****:

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: listenSocket = secs_service service ;

Description

%FILE Examples

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

Related Links

secs_service,secs_assign

Clone this wiki locally