Реферат: Networking Principles Essay Research Paper DialUp Scripting

Реферат: Networking Principles Essay Research Paper DialUp Scripting




⚡ 👉🏻👉🏻👉🏻 ИНФОРМАЦИЯ ДОСТУПНА ЗДЕСЬ ЖМИТЕ 👈🏻👈🏻👈🏻




























































Networking Principles Essay, Research Paper
For Dial-Up Networking Scripting Support
Many Internet service providers and online services require you to manually enter information, such as your user name and password, to establish a connection. With Scripting support for Dial-Up Networking, you can write a script to automate this process.
A script is a text file that contains a series of commands, parameters, and expressions required by your Internet service provider or online service to establish the connection and use the service. You can use any text editor, such as Microsoft Notepad, to create a script file. Once you’ve created your script file, you can then assign it to a specific Dial-Up Networking connection by running the Dial-Up Scripting Tool.
A command is the basic instruction that a script file contains. Some commands require parameters that further define what the command should do. An expression is a combination of operators and arguments that create a result. Expressions can be used as values in any command. Examples of expressions include arithmetic, relational comparisons, and string concatenations.
The basic form of a script for Dial-Up Networking follows:
; A comment begins with a semi-colon and extends to
; A script can have any number of variables
A script must have a main procedure, specified by the proc keyword, and a matching endproc keyword, indicating the end of the procedure.
You must declare variables before you add commands. The first command in the main procedure is executed, and then any subsequent commands are executed in the order they appear in the script. The script ends when the end of the main procedure is reached.
Scripts may contain variables. Variable names must begin with a letter or an underscore (’_'), and may contain any sequence of upper- or lower-case letters, digits, and underscores. You cannot use a reserved word as a variable name. For more information, see the list of reserved words at the end of this document.
You must declare variables before you use them. When you declare a variable, you must also define its type. A variable of a certain type may only contain values of that same type. The following three types of variables are supported:
integer A negative or positive number, such as 7, -12, or 5698.
string A series of characters enclosed in double-quotes; for example, “Hello world!” or “Enter password:”.
boolean A logical boolean value of TRUE or FALSE.
Variables are assigned values using the following assignment statement:
The variable gets the evaluated expression.
System variables are set by scripting commands or are determined by the information your enter when you set up a Dial-Up Networking connection. System variables are read-only, which means they cannot be changed within the script. The system variables are:
$USERID String The user identification for the current connection. This variable is
the value of the user name specified in the Dial-Up Networking
$PASSWORD String The password for the current connection. This variable is the
value of the user name specified in the Dial-Up Networking
$SUCCESS Boolean This variable is set by certain commands to indicate whether or not the command succeeded. A script can make
decisions based upon the value of this variable.
$FAILURE Boolean This variable is set by certain commands to indicate
whether or not the command failed. A script can make decisions
based upon the value of this variable.
These variables may be used wherever an expression of a similar type is used. For example,
is a valid command because $USERID is a variable of type string.
Scripting for Dial-Up Networking supports escape sequences and caret translations, as described below.
If char is a value between ‘@’ and ‘_’, the character sequence is translated into a single-byte value between 0 and 31. For example, ^M is converted to a carriage return.
If char is a value between a and z, the character sequence is translated into a single-byte value between 1 and 26.
If char is any other value, the character sequence is not specially treated.
An expression is a combination of operators and arguments that evaluates to a result. Expressions can be used as values in any command.
An expression can combine any variable, or integer, string, or boolean values with any of the unary and binary operators in the following tables. All unary operators take the highest precedence. The precedence of binary operators is indicated by their position in the table.
The binary operators are listed in the following table in their order of precedence. Operators with higher precedence are listed first:
Operators Type of Operation Type Restrictions
+ – Additive integers Strings (+ only)
== != Equality Integers, strings, booleans
All text on a line following a semicolon is ignored.
transmit “hello” ; transmit the string “hello”
Keywords specify the structure of the script. Unlike commands, they do not perform an action. The keywords are listed below.
Indicates the beginning of a procedure. All scripts must have a main procedure (proc main). Script execution starts at the main procedure and terminates at the end of the main procedure.
Indicates the end of a procedure. When the script is executed to the endproc statement for the main procedure, Dial-Up Networking will start PPP or SLIP.
Declares a variable of type integer. You can use any numerical expression or variable to initialize the variable.
Declares a variable of type string. You can use any string literal or variable to initialize the variable.
Declares a variable of type boolean. You can use any boolean expression or variable to initialize the variable.
All commands are reserved words, which means you cannot declare variables that have the same names as the commands. The commands are listed below:
Pauses for the number of seconds specified by nSeconds before executing the next command in the script.
delay x * 3 ; pauses for x * 3 seconds
Waits for an IP address to be received from the remote computer. If your Internet service provider returns several IP addresses in a string, use the value parameter to specify which IP address the script should use.
; assign the first received IP address to a variable
Jumps to the location in the script specified by label and continues executing the commands following it.
goto BailOut ; jumps to BailOut and executes commands
Stops the script. This command does not remove the terminal dialog window. You must click Continue to establish the connection. You cannot restart the script.
Executes the series of commands if condition is TRUE.
Specifies the place in the script to jump to. A label must be a unique name and follow the naming conventions of variables.
Changes the number of bits in the bytes that are transmitted and received during the session. The number of bits can be between 5 and 8. If you do not include this command, Dial-Up Networking will use the properties settings specified for the connection.
set port parity none | odd | even | mark | space
Changes the parity scheme for the port during the session. If you do not include this command, Dial-Up Networking will use the properties settings specified for the connection.
Changes the number of stop bits for the port during the session. This number can be either 1 or 2. If you do not include this command, Dial-Up Networking uses the properties settings specified for the connection.
Enables or disables keyboard input in the scripting terminal window.
Specifies the IP address of the workstation for the session. String must be in the form of an IP address.
Sends the characters specified by string to the remote computer.
The remote computer will recognize escape sequences and caret translations, unless you include the raw parameter with the command. The raw parameter is useful when transmitting $USERID and $PASSWORD system variables when the user name or password contains character sequences that, without the raw parameter, would be interpreted as caret or escape sequences.
waitfor string [ , matchcase ] [ then label
{ , string [ , matchcase ] then label } ]
Waits until your computer receives one or more of the specified strings from the remote computer. The string parameter is case-insensitive, unless you include the matchcase parameter.
If a matching string is received and the then label parameter is used, this command will jump to the place in the script file designated by label.
The optional until time parameter defines the maximum number of seconds that your computer will wait to receive the string before it execute the next command. Without this
parameter, your computer will wait forever.
If your computer receives one of the specified strings, the system variable $SUCCESS is set to TRUE. Otherwise, it is set to FALSE if the number of seconds specified by time elapses before the string is received.
Executes the series of commands until condition is FALSE.
The following words are reserved and may not be used as variable names.

Название: Networking Principles Essay Research Paper DialUp Scripting
Раздел: Топики по английскому языку
Тип: реферат
Добавлен 07:45:36 31 октября 2010 Похожие работы
Просмотров: 8
Комментариев: 12
Оценило: 1 человек
Средний балл: 5
Оценка: неизвестно   Скачать

Привет студентам) если возникают трудности с любой работой (от реферата и контрольных до диплома), можете обратиться на FAST-REFERAT.RU , я там обычно заказываю, все качественно и в срок) в любом случае попробуйте, за спрос денег не берут)
Да, но только в случае крайней необходимости.

Реферат: Networking Principles Essay Research Paper DialUp Scripting
Реферат: Бюджетный процесс Санкт-Петербурга
Реферат: Структуризация телекоммуникационных сетей
Курсовая работа: Конституционный Суд в РФ - судебный орган конституционного контроля
Курсовая Работа На Тему Экологический Туризм И Местное Сообщество
Доклад: Сотовые телефоны третьего поколения (3G)
Реферат по теме Систематизация и структурирование учебного материала в процессе изучения темы физики <Электростатика>
Лабораторная Работа На Тему Частотные Фильтры Электрических Сигналов (Пассивные)
Реферат: Бой у мыса Коли
Разработка Информационной Системы Курсовая Работа
Сочинение Про Осенний Парк 3 Класс
Доклад по теме Социально–экономическое и политическое развитее России в 18 в.
Сочинение На Тему Помню
Реферат: Gps Navigation Essay Research Paper GPS The
Курсовая работа по теме Нарушения чтения у младших школьников с умственной отсталостью
Кто Владеет Информацией Тот Владеет Миром Эссе
Задачи Работы Курсовой Упаковки Шоколада
Реферат: Хельсинский заключительный акт 1957 г. Скачать бесплатно и без регистрации
Отчет по практике по теме Производство работ по строительству и ремонту автомобильных дорог на ООО 'СтройСити'
Реферат: Великобритания в начале XIX века страна, где господствовала свободная конкуренция
Курсовая работа по теме Технология ZigBee
Реферат: Промывка фильтровальных аппаратов
Доклад: Экономика во времени татаро-монгольского ига
Реферат: Социально-философская мысль Запада

Report Page