Skip to Main Content Skip to Search
Product Documentation

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

String

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

See Also

Functions

fclose, fopen, tcpip

How To

Using TCP/IP Server Sockets

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS