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 #308 background imageLoading...
Page #308 background image
Chapter 8 Using the CSS Scripting Language
Using socket Commands
8-40
Cisco Content Services Switch Administration Guide
OL-5647-02
socket inspect
To inspect the socket's internal data buffer for actual data, use the socket inspect
command. If the software finds data, it displays to standard output the last 10 KB
of data received. If the displayed characters are non-printable, the software
represents them with a period character (.) for readability. (See the example under
the pretty argument, below.)
The syntax for this command is:
socket inspect socket_number {pretty}{raw}
The options and variables are:
socket_number - Socket file descriptor (integer form). This descriptor is
returned by the socket connect command.
raw - Displays the string values as hexadecimal bytes instead of a simple
string. For example, instead of printing “ABCD” to standard output, it prints
“41424344” (1-byte hexadecimal equivalent).
pretty - Prints each line with both the hexadecimal and the ASCII equivalent
for each byte of data. The software prints up to 16 bytes on each line. For
example, enter: “0x41 0x42 0x43 0x44 0x10 0x05 ABCD..
Note If you use the socket inspect command in a keepalive script, you must use the
“use-output” option in the command line when configuring the keepalive type for
the service.
socket disconnect
To close the connection to the remote host by sending RST (reset) to the remote
host so that it knows that the CSS is finished sending data, use the socket
disconnect command.
The syntax for this command is:
socket disconnect socket_number {graceful}
socket_number - Socket file descriptor (integer form). This descriptor is
returned by the socket connect command.

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