houseonfire Posted May 23, 2008 Share Posted May 23, 2008 I'm trying to make a script that tells me when i get a connection from someone, on a certain port. I looked in the help file and found the main part, ;SERVER $g_IP = "127.0.0.1" ; Start The TCP Services ;============================================== TCPStartUp() ; Create a Listening "SOCKET" ;============================================== $MainSocket = TCPListen($g_IP, 65432, 100 ) If $MainSocket = -1 Then Exit TrayTip( "Connection", "Connection from"& THE IP IM GETTING A CONNECTION FROM ,5) That last line obviously wont work. hah How do i get the IP of the person who is connecting to it to be displayed in the TrayTip 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