home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / sockspx / readme.txt < prev    next >
Text File  |  1996-07-28  |  2KB  |  49 lines

  1.     This module illustrates the Win32 Winsock APIs over IPX/SPX protocol
  2.     sequence.
  3.  
  4.     This example implements a client and a server. This example can use IPX,
  5.     SPX as well as SPXII protocol sequences. The example has a number command
  6.     line options. For example,
  7.  
  8.     -s To run the example as a server.
  9.     
  10.     -c To run the example as a client.
  11.     
  12.     -e <Endpoint> To specify an end point of your choice. This is a mandatory
  13.     parameter. Servers use this as the socket number to listen on, clients use
  14.     it as the socket number to connect to, on a specified host.
  15.  
  16.     -n <ServerIpxAddress> To specify the server's IPX address. This is used by
  17.     clients. The address must be spcified as <NetworkNumber.NodeNumber> 
  18.     format, for example AABBCCDD.AABBCCDDEEFF.
  19.     
  20.     -l <LocalIpxAddress> To specify the local IPX address. This is used by
  21.     clients and servers. The address must be spcified as <NetworkNumber.
  22.     NodeNumber> format, for example AABBCCDD.AABBCCDDEEFF. If an IPX address
  23.     is not specified the created sockets are bound to the default interface,
  24.     00000000.000000000000.
  25.  
  26.     -p <d or s or p> To specify the protocol sequence to be used. 
  27.     'd' - datagram support, in this case IPX protocol sequence is used. 
  28.     's' - SOCK_STREAM/SPXII protocol sequence is used(default protocol).
  29.     'p' - SOCK_SEQPACKET/SPXII protocol sequence isused.
  30.        
  31.     -m To Enumerate Local Addresses. This example can be used only to 
  32.     enumerate the local IPX adapters. This may be important before running the
  33.     client to know the server's IPX address.
  34.        
  35.     To run the application as a server, the following command line can be 
  36.     specified:
  37.     
  38.     sockspx -s -e 8000 -p s
  39.     
  40.     To run the application to act as a client, the following command line can be
  41.     specified:
  42.     
  43.     sockspx -c -n AABBCCDD.AABBCCDDEEFF -e 8000 -p s
  44.     
  45.     To enumerate the local IPX adapters, the following command line will have
  46.     to be specified:
  47.     
  48.     sockspx -m
  49.