EasyManuals Logo

Cisco 11503 - CSS Content Services Switch User Manual

Cisco 11503 - CSS Content Services Switch
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #306 background imageLoading...
Page #306 background image
Chapter 8 Using the CSS Scripting Language
Using socket Commands
8-38
Cisco Content Services Switch Administration Guide
OL-5647-02
raw -The optional keyword that causes the software to interpret the string
values as hexadecimal bytes rather than as a simple string. For example, the
software converts “0D0A” to “0x0D 0x0A” (carriage return, line feed).
base64 - Encodes the string in the base-64 numbering system before sending
it through the connection. This option is useful for HTTP basic authentication
when connecting to a password-protected website.
socket receive
To fill up the socket’s 10-KB internal buffer with data from the remote host, use
the socket receive command. Once the buffer is full, the command locks the
buffer so that no new data can be placed in the buffer. You can use the socket
inspect command to send all data residing in this 10-KB buffer to standard output.
Note The software removes all previous data from the 10-KB internal buffer before it
stores new data.
The syntax for this command is:
socket receive socket_number {timeout} {raw}
The options and variables are:
socket_number - Socket file descriptor (integer form). This descriptor is
returned by the socket connect command.
socket_number - Socket file descriptor (integer form). This descriptor is
returned by the socket connect command.
timeout - The optional timeout value that specifies the number of
milliseconds the CSS software waits before the script locks the internal
10-KB buffer and resumes execution. Enter an integer from 1 to 15,000 ms.
The default is 100 ms.
raw - The optional keyword that causes the software to interpret the string
values as hexadecimal bytes rather than as a simple string. For example, the
software converts “0D0A” to “0x0D 0x0A” (carriage return, line feed).

Table of Contents

Other manuals for Cisco 11503 - CSS Content Services Switch

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 11503 - CSS Content Services Switch and is the answer not in the manual?

Cisco 11503 - CSS Content Services Switch Specifications

General IconGeneral
BrandCisco
Model11503 - CSS Content Services Switch
CategorySwitch
LanguageEnglish

Related product manuals