NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page sending sata to telnet

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-07-2007, 11:12 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Nov 2006
Location: entrepreneurhosting.co.uk
Posts: 401
mattonline has a spectacular aura aboutmattonline has a spectacular aura about
 



sending sata to telnet


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.

Quote:

????: NamePros.com http://www.namepros.com/programming/336572-sending-sata-to-telnet.html
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
mattonline is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:22 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger