Changes between Version 26 and Version 27 of GEC11NetServTutorialInstruction


Ignore:
Timestamp:
07/21/11 20:59:33 (11 years ago)
Author:
jae@cs.columbia.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC11NetServTutorialInstruction

    v26 v27  
    163163  The {{{conf-default.xml}}} file specifies a sample configuration for a single container.
    164164
    165 2.
    166 
    167 3.
    168 
     1652. Open two more terminal windows (they don't have to be big).
     166
     167  On one window, start Netcat in server mode, listening on UDP port 22222:
     168
     169{{{
     170nc -u -l 22222
     171}}}
     172
     173  On the other window, start Netcat in client mode, connecting to the UDP port 22222 on the localhost:
     174
     175{{{
     176nc -u 127.0.0.1 22222
     177}}}
     178
     179  Test the chat-like connection by typing something in the Netcat client window. You should see the same characters appear on the server window.
     180
     1813. Open another terminal window and build the UDPEcho module.
     182
     183{{{
     184cd /netserv-root/apps/udpecho/modules
     185make
     186}}}
     187
     1884. Install the UDPEcho module into the local NetServ router.
     189
     190{{{
     191cd test
     192./setup.sh
     193}}}
     194
     195  You can switch to the !NetServ router window and see the log output of the installation process.
     196
     1975. See UDPEcho in action!
     198
     199  Type something in the Netcat client window and see what happens.
     200  See also the debugging output from the UDPEcho module in the !NetServ router window.
     201
     2026. Remove the UDPEcho module.
     203
     204{{{
     205./remove.sh
     206}}}
     207
     208  Type something again in the Netcat client window and see what happens.
     209
     210