Main Content

NetworkRole

Specify server socket connection

Description

The NetworkRole property in the tcpip interface enables support for Server Sockets. It uses two values, client and server, to establish a connection as the client or the server.

The server sockets feature supports binary and ASCII transfers and supports a single remote connection.

Characteristics

Usage

TCPIP

Read only

While open

Data type

Character vector

Values

The default value is client.

client

Establish a TCP/IP connection as a client (default)

server

Establish a TCP/IP connection as a server