Server

A server allows you to setup a listening socket and accept connections from clients.

This can be handy if you want to test your client software. First you choose a port you want to be opened to accept connections. In the sample below port 100 has been chosen. Your clients can now connect to this server. They are accepted automatically and information about them will be listed in the listbox. Text sent from the client will be displayed in the communications box and in the column last message in.

To send a message to a client, click on its number in the list and type the message to send in the combobox next to the Send button. To send a message to multiple clients you have to select those client by using the shift and mousebuttons. The message will be displayed in the last message out column.

If you want to transmit a large amount of data at once, you can enter it in (or copy it to) the clipboard and send it using the paste button. The commands sent will show up in de Send history.

You can disconnect a client by clicking on its number and selecting Disconnect. Close closes the listening port and Clear clears the textarea's.

There are some special commands you can use if you click with the right mousebutton on the client window. There will be a popupmenu like shown below.

By selecting Clear history you can remove the previous given send items, servers and ports. With Send CRLF you can indicate if you want to send text with carriage return linefeed (character 10 and character 13). Usually you will need this and it is selected by default.

If you click on the log window with the right mousebutton a different popupmenu will be shown.

Here you can clear the log (Clear log), save the log, print the log contents (Print log), copy a selected part of the log contents (Copy) or select all the text and copy it to the clipboard (Select & Copy)

These commands can also be accessed by using the menuitem server in the menubar.

When you select Save log, you will get a dialog asking for a filename and the type of the file. By using RTF (RichTextFormat) you can also save the colors used in the log. By saving the file as TXT (Text) you will lose this layout. RTF files can be opened in most word processors.