Socket Send - Cisco 11503 - CSS Content Services Switch Administration Manual

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 8
Using the CSS Scripting Language

socket send

OL-5647-02
The options and variables are:
host - Keyword that must be followed by the host name or IP address of the
remote CSS.
ip_address - The host name or the IP address of the remote CSS.
port - Keyword that must be followed by the port on which to negotiate a
connection.
number - The port number on which to negotiate a connection.
tcp - Keyword that specifies a connection using TCP.
udp - Keyword that specifies a connection using UDP.
timeout - Timeout value for making the network connection in milliseconds.
If the time limit expires before the connection has been successfully made,
then the attempt fails. This applies only to a TCP connection, because UDP
is "connectionless". Enter an integer from 1 to 60000 ms (1 to 60 seconds).
The default is 5000 ms (5 seconds).
session - Keyword that tells the socket to remain open until the session ends.
If a script opens sockets in the session and does not close them, the sockets
remain open until you log out.
nowait - Keyword that tells the socket to send data immediately without
waiting to aggregate the data first.
To write data through a previously connected TCP connection, use the socket
send command. Note that the socket send command clears all currently stored
data in the 10-KB receive buffer.
The syntax for this command is:
socket send socket_number "string" {raw | base64}
socket_number - Socket file descriptor (integer form). This descriptor is
returned from the socket connect command.
string - Quoted text string with a maximum of 128 characters.
Cisco Content Services Switch Administration Guide
Using socket Commands
8-37

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents