Visual Basic Wiki
Advertisement

To create a simple server for telnet, follow these instructions: First, start a new application, and place a winsock control on it. Set it's localport and remoteport to 23. Next, in the form load sub, add the following text(without inverted apostrophes) "Winsock1.Listen" Run it, then in the run window type "telnet localhost" It should show nothing. If you close the vb6 program, it will stop and close. Congratualtions! You can experimmnent from then on.

Advertisement