                             NBLib32 Version 1.25

              Includes TVladNCB, TNBDatagram, TNBSession, TNBLink

                   Copyright (C) 1997,1998 Vladislav Sharnin

                            vladshar@ufanet.ru

                            All Rights Reserved

                               samples.txt

Four projects of examples for testing components are offered:

1. ChatDtg - exchange of the symbolical information in a network with the help
   of a component TNBDatagram.
2. ChatSess - exchange of the symbolical information in a network with the help
   of a component TNBSession.
3. ChatLink - exchange of the symbolical information in a network with the help
   of a component TNBLink.
4. ChatSess - exchange of files in a network with the help of a component
   TNBSession.

  Before start of examples it is necessary to execute installation of components
described in a file readme.1st.

Example ChatDtg.dpr:
  1. After you have executed compilation of an example, start the first copy of
     the application on the first computer, and second on the second computer.
     Both computers should be connected to a local area network.
  2. On both computers to choose number Lana c by the required protocol to
     execute dump by the button "ResetLana".
  3. On the first computer set names.
     For example:
     CallName - Computer2
     OurName - Computer1
  4. On the second computer set names.
     CallName - Computer1
     OurName - Computer2
  5. On both computers to execute "Open".
  6. After successful end of operations Open type symbols in bottom Memo.
  7. Be convinced of reception of symbols on the other computer.

Example ChatSess.dpr:
  1. After you have executed compilation of an example, start the first copy of
     the application on the first computer, and second on the second computer.
     Both computers should be connected to a local area network.
  2. On both computers to choose number Lana c by the required protocol to
     execute dump by the button "ResetLana".
  3. On the first computer set names.
     For example:
     CallName - Computer2
     OurName - Computer1
  4. On the second computer set names.
     CallName - Computer1
     OurName - Computer2
  5. On both computers to execute "Open".
  6. On the first computer in the switch HowToConnect establish "Call", and on
     second "Listen".
  7. Execute on both computers "Connect".
  8. After the connection - type symbols in bottom Memo.
  9. Be convinced of reception of symbols on the other computer.

Example ChatLink:
  1. After you have executed compilation of an example, start the first copy of
     the application on the first computer, and second on the second computer.
     Both computers should be connected to a local area network.
  2. Include or disconnect the necessary network protocols ("Protocol of...").
  3. On the first computer set names.
     For example:
     CallName - Computer2
     OurName - Computer1
  4. On the second computer set names.
     CallName - Computer1
     OurName - Computer2
  6. On the first computer in the switch HowToConnect establish "Call", and on
     second "Listen".
  5. On both computers to execute "Start".
  8. After the connection - type symbols in bottom Memo.
  9. Be convinced of reception of symbols on the other computer.

Example Transfer:
  1. After you have executed compilation of an example, start the first copy of
     the application on the first computer, and second on the second computer.
     Both computers should be connected to a local area network.
  2. On the first computer set names.
     For example:
     CallName - Computer2
     OurName - Computer1
  3. On the second computer set names.
     CallName - Computer1
     OurName - Computer2
  4. On the first computer in the switch HowToConnect establish "Call", and on
     second "Listen".
  5. On both computers to execute "Start".
  8. After an establishment of connection, choose a file for transfer
     ("Select of File").
  9. Execute "Send".
  9. Be convinced of reception of a file on the other computer.


