I have been allowed access to a friends wingate, which he uses for his mail server. I said cool thanks, and I yesterday tried to use it.

I got the login prompt, and I typed in my username and pass via telnet, and started using it.

Now I wanted to make a prog in vb to do it, easy I thought. Heres a snippet of the code

VB Code:
  1. Private Sub Command1_Click()
  2. With Winsock1
  3.        .RemotePort = port.Text
  4.        .RemoteHost = address.Text
  5.        .Connect
  6.    End With
  7.    status.Caption = "Connecting...."
  8. End Sub
  9.  
  10. Private Sub disconnect_Click()
  11.     Winsock1.Close
  12.     status.Caption = "Not Connected"
  13. End Sub
  14.  
  15. Private Sub sendstr_Click()
  16.     Winsock1.SendData inputstr.Text & vbLf
  17.     List1.AddItem inputstr.Text
  18.     inputstr.Text = ""
  19. End Sub
  20.  
  21. Private Sub Winsock1_Connect()
  22.     Winsock1.SendData send1.Text & vbLf
  23.     Winsock1.SendData send2.Text & vbLf
  24.     status.Caption = "Connected!"
  25. End Sub

Now then, I connected all right, but my login prmpt, instead of coming out as:

<address>
login :

It came out more like

yy|yy#yy

but the y's all had funny accents on them. I don't know why this is.

Theres a terminal option in telnet, that something to do with it?

Thanks