Clever1mba Posted June 4, 2005 Posted June 4, 2005 (edited) hello every onelast time post few question about tcp but not get proper answer i just want to know how to get and display tcp connect tcp receive tcp send status at separate windowshere is my code $g_IP = "mx4.mail.yahoo.com"TCPStartup() $hSocket = TCPConnect(TCPNameToIP($g_IP), 25)If $hSocket <> -1 ThenSleep(100)$sData = TCPRecv($hSocket, 1024)If StringLeft($sData, 3) = "220" ThenSleep(100)$sData = "HELO ASIM" EndIfEndIf Edited June 4, 2005 by asimzameer
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