A1VBCode Forums

Communicating to a Telnet using VB


http://www.a1vbcode.com/vbforums/Topic22842.aspx

By CyberEd - 8/29/2007

Hello everyone ! this is my first time here.

(This is a repost on the other thread just to make sure if it was not responded

it would be seen here which is more mainstream.)

Could you help me on how could i communicate to a telnet?

Actually, i already have a code that receive message from a telnet.

But i cant reply to the telnet.

Let's say for example a DOS command would go like this :

telnet localhost 8080

Then my already running VB code would respond accept the connection

and then let's say i want to respond to telnet with the

following message : "Welcome!".

How could i send the aforementioned message that would be seen on my telnet screen on DOS?

Any ideas?