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 / ipxchat / readme.txt < prev    next >
Text File  |  1996-03-28  |  2KB  |  48 lines

  1. IPXCHAT Example Application
  2.  
  3. This program demonstrates the use of Windows Sockets to communicate 
  4. over the IPX/SPX protocol.
  5.  
  6. Setup:
  7.  
  8. IPXCHAT requires that an IPX protocol is loaded.  The "IPX/SPX 
  9. Compatible Transport" shippd in the box is the protocol which was 
  10. used for testing this application.  Make sure that the protocol is
  11. configured correctly for the same frame type on the two machines 
  12. which are talking to each other.
  13.  
  14. To use IPXCHAT:
  15.  
  16. There are two sides to a sockets application, the server side (the 
  17. listening side), and the client side (the calling side).  On the first
  18. machine you will need to set up IPXCHAT as the server.  
  19.  
  20. Start IPXCHAT and select Options->Listen.
  21.  
  22. You will be prompted to enter a socket number.  A default of 2FFF will be
  23. offered to you although you may change it to anything you want.  Be aware 
  24. that there are well known XNS sockets which you should stay away from.  See
  25. Novell's "IPX Router Specification" for a list of these.
  26.  
  27. When you select OK, IPXCHAT will initialize Windows Sockets and start
  28. listening on the specified socket.  In the status box of the dialog you
  29. will see a message "listening on <netnum>.<nodenum>.<socknum>" where
  30. netnum will be a number specifying the network number, nodenum specifies
  31. the node number, and socknum specifies the socket number.  You will need
  32. these numbers to enter on the client side in order to connect.
  33.  
  34. On the second machine (actually it can be the same machine as the server):
  35.  
  36. Start IPXCHAT and select Options->Connect.
  37.  
  38. You will be prompted to enter the Network Number, Node Number, and Socket 
  39. Number indicated on the server (the three numbers in the status box of 
  40. the server's listen dialog).  Once you connect you should be able to 
  41. type in the top edit control and it should appear on the bottom of your
  42. counterpart's edit control.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.