Clever1mba 0 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 Share this post Link to post Share on other sites