1 This is socket test server example.
2 The example runs both CHARGEN and ECHO servers for TCP and UDP.
3 It is based on MW-Network and uses BSD sockets for the implementation.
5 The SockServer is able to accept 7 connections simultaneously:
6 - 2 concurrent TCP echo sessions,
7 - 2 concurrent TCP chargen sessions,
8 - 1 concurrent TCP discard session,
9 - 1 socket UDP echo session,
10 - 1 socket UDP chargen session,
11 - 1 socket TCP test assistant session.
14 - Use Network system viewer to see the assigned IP address of the server.
15 - Character ESC (0x1b) terminates TCP session.
20 Open a telnet session to your test platform at port 7.
23 telnet 192.168.1.100 7
25 Then, enter in the telnet a few characters and you will see that the characters
26 are echoed back to you. In telnet you will see all duplicate characters:
36 Open a telnet session to your test platform at port 19.
39 telnet 192.168.1.100 19
41 You will see a pattern similar to the following on streaming by on your
44 ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./01
45 BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./012
46 CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123
47 DEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./01234
48 EFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./012345
49 FGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456
50 GHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./01234567
51 HIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./012345678
52 IJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789
53 JKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:
54 KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;
55 LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<
56 MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=
62 Open a telnet session to your test platform at port 9.
65 telnet 192.168.1.100 9
67 The service discards all received characters.