Unstoppable Domains

Sending sata to telnet

Spaceship Spaceship
Watch

mattonline

Established Member
Impact
2
OK i've started creating a script (talked about it once here)

but i now want to send some information to the telnet

heres what my program looks like

i'm able to connect to the DAC - domain availability checker

and when i click the send data button, i want to send the information in the box where itsays text2 to the top box


heres the code i have used.

Private Sub Form_Load()
telnet.RemoteHost = "dac.nic.uk"
telnet.RemotePort = 2043
End Sub

Private Sub cmdConnect_Click()
telnet.Connect
cmdConnect.Enabled = False
End Sub

Private Sub telnet_DataArrival(ByVal bytesTotal As Long)
Dim strData As String
telnet.GetData strData
txtOutput.Text = txtOutput.Text & strData
End Sub

Private Sub cmdSendData_Click()
If telnet.State = sckConnected Then
telnet.SendData txtSend.Text
End If
End Sub

Private Sub cmdEnd_Click()
telnet.Close
End
End Sub
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back