home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 033 / atcp40de.zip / INET-HAN.DOC < prev    next >
Text File  |  1993-10-24  |  2KB  |  59 lines

  1.  
  2. inet-handler            AmiTCP/IP User Manual           inet-handler
  3.  
  4. NAME
  5.     inet-handler  --  An easy and useful access to internet.
  6.  
  7. SYNOPSIS
  8.     Mount TCP: from AmiTCP:devs/inet-mountlist
  9.  
  10. USAGE
  11.     Usually the mounting shown above is done automatically at 
  12.     AmiTCP/IP startup. After this Internet can be accessed by
  13.     openign TCP: device from shell commands or another programs.
  14.  
  15.     Filename path after TCP: is used as command line arguments
  16.     after all slashes '/' are changed to spaces. The command
  17.     template is as follows...
  18.  
  19.     H=HOST,P=PORT,S=SERVICE/K,O=OBTAIN/K
  20.  
  21.     If host and port is given, system tries to connect the requested
  22.     destination. Service is synonym to port -- and therefore cannot
  23.     be used together. If only port is given handler binds to this
  24.     port and leaves file unopened until someone connects to it...
  25.     i.e acts as a server. if OBTAIN is given, handler tries to get
  26.     already opened socket with the id provided (usually used with
  27.     inetd). OBTAIN cannot be used together with anything else.
  28.  
  29.     Normally when there is more than one item in template that does
  30.     not require a keyword the first keywordless argument goes to
  31.     first template item introduced an so on. However since with
  32.     this handler, port can be given alone, but host not, the only
  33.     keywordless argument goes to port if port not already given
  34.     with keyword. This makes handler usage easier for humans.
  35.  
  36. EXAMPLES
  37.     Open 2 shell windows. Enter `type TCP:127' on one of the shells.
  38.     Enter `copy * TCP:localhost/127' on another. Now you can write 
  39.     some words on second window and those appear on first as you press
  40.     RETURN. This idea can be used th have 2-Way chat with your friend.
  41.  
  42.     Use the 2 shell windows you have opened. Enter `newshell tcp:16333'
  43.     on one and try `letnet localhost 16333' on another. You should see
  44.     the starting shell info and command prompt appear in your 'letnet'
  45.     window. Enter `endcli' and you get back where you started from.
  46.  
  47.     In the previous example. you can change the 'letnet' to 'telnet'
  48.     from remote host. i.e Log on your Amiga. Currently this is not
  49.     fully supported so you must end every command with ';' since
  50.     NewShell cannot handle the trailing CR that comes with telnet.
  51.  
  52.     Enter `type TCP:your.favorite.remote.host/daytime'.
  53.  
  54.     TCP: can be used wery easy in arexx scripts and also in other
  55.     programming languages. I suggest you use keywords when writing
  56.     code that machine executes.
  57.  
  58. SEE ALSO
  59.