Setting up a connection
2.1 - Running a Dedicated Server
Before you can chat to anybody , you have to set up a
Dedicated Server. If you do this the first time, simply start NetChat.exe.
Now press Ctrl+N or click "Connection --> New".
This dialog is used for two things: Connecting to a server or
starting a server and connecting to it. In this case we want to
start a server and connect to it. Before you press the button
"Run local server and connect" (1)
you should setup the mode, the server is started in. The most
important setting is the protocol (4).
Make sure that you choose a protocol that is supported by the
machines that are going to connect to this server. If you choose
TCP/IP you can also select an interface (3),
the server is started on. The interface is the network address
that others need to know on connecting to this server. If you
have multiple network adapters you should select the address
which is of the same class as the addresses of the clients that
will connect to the server, so that the server is visible to
their "LAN-browsers" (7).
Moreover you can set how long the server should live (5). If one of the set
conditions is true, the server will disconnect all clients and
terminate. Finally, the settings are saved and the server is
started when you press the "Run local server and connect"-button
(1).
The second way is just to execute ncded.exe. If
you do this you can't change any settings. The Dedicated Server
simply uses the settings of previous sessions. To change them you
have to launch NetChat.exe and do the things
described above.
2.2 - Connecting to a Dedicated Server
Start NetChat.exe. Press Ctrl+N or click "Connection --> New". Here you have three possibilities to connect to a Dedicated Server. The first and easiest way is to click on the "LAN (Local Area Network)"-field (7). A list of all available Dedicated Servers will be shown. Just double-click the one you want to connect to. The Second way is to click on the "Address Book"-field (8). Just click one of the telephone-buttons and a connection to the address that you entered in the "Server Address / Name"-field before will be established. The third way is to enter the address of the server in the "Server Name / Address"-field (6) above the "Connect"-button (2) directly and then to press it. You can also connect by using command line parameters.
2.3 - Connecting over the Internet
Setting up a server:
Step 1: Connect to the Internet.
Step 2: Start NetChat.exe, press Ctrl+N
or click "Connection --> New".
Step 3: Select TCP/IP as protocol, select the IP-address
that belongs to the adapter that is connected to the Internet (if
you don't know which IP-address belongs to you Internet adapter
then look it up with winipcfg.exe).
Step 4: Press the "Run local server and connect"-button.
Step 5: Tell the people that want to connect to your
server your Internet IP-address.
Setting up clients:
Step 1: Ask for the Internet IP-address of the server.
Step 2: Connect to the Internet.
Step 3: Start NetChat.exe, press Ctrl+N
or click "Connection --> New".
Step 4: Enter the IP-address that was told you by the
guy that started the server.
Step 5: Press the "Run local server and connect"-button.
As you don't have a static IP-address at your ISP (Internet Service Provider), your Internet IP-address will be allocated dynamically. This makes it difficult for others to connect to your NetChat Dedicated Server, because the IP-address they have to "dial" changes every time you re-connect to the Internet and you have to tell them every time. The second problem is that you have to connect to the Internet before you can tell anybody your IP-address. I guess this is more than difficult if you have only one phone-line ;))
The NetChat.exe supports command line parameters. They are divided by spaces (" "). Syntax: NetChat [-xxx [-yyy [zz]]]:
-standby --> start as a little icon in the taskbar
-connect {addr} --> connect to a server with the address / name {addr}Example: "netchat -standby -connect 133.234.122.99"