Eusebio Posted October 30, 2006 Share Posted October 30, 2006 Anyboyd knows the way to connect to WhoIs server with sockets? I know the port is 43 but I don't know how to connect and save the data. Thanks, Eusebio. WhoIsYouTube Video downloaderSoundex - SoundexEx - Levenshtein Distance (algorithms)[font="Arial"]I3osé[/font][font="Arial"]AutoIT[/font] Link to comment Share on other sites More sharing options...
Eusebio Posted October 31, 2006 Author Share Posted October 31, 2006 If you are interested, I Know how now: TCPStartUp() dim $datos="" $ip=TCPNameToIP ("whois.nic.fr") while 1 $socket = TCPConnect($ip, 43 ) If $socket = -1 Then MsgBox(1,@error,"No conectado") Else ExitLoop EndIf WEnd TCPSend ( $socket,"123pizza.fr" & @CRLF ) If @error Then MsgBox(1,@error,"Error al enviar los datos") EndIf While 1 $recv = TCPRecv( $Socket, 2048 ) If @error Then ExitLoop If $recv <> "" Then $datos=$datos & $recv EndIf WEnd ConsoleWrite($datos) TCPShutdown ( ) WhoIsYouTube Video downloaderSoundex - SoundexEx - Levenshtein Distance (algorithms)[font="Arial"]I3osé[/font][font="Arial"]AutoIT[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now