contau Posted May 19, 2011 Share Posted May 19, 2011 I want to create a listening tcp port that multi users can connect.I used TCP.au3 but not complete .PLS show me some codes do this.TCP.au3 Link to comment Share on other sites More sharing options...
smartee Posted May 19, 2011 Share Posted May 19, 2011 hi contau,Welcome to the forum The TCPListen() function is what you're after, search for it in the help file Also, there are lots of of tcp server/client examples () in the example scripts section, search the forum Hope this helps-smartee Link to comment Share on other sites More sharing options...
contau Posted May 19, 2011 Author Share Posted May 19, 2011 (edited) hi contau,Welcome to the forum The TCPListen() function is what you're after, search for it in the help file Also, there are lots of of tcp server/client examples () in the example scripts section, search the forum Hope this helps-smarteeI need to create a listening port and wait for outside users connect to. What you show is "creating connect to an ipadress". Edited May 19, 2011 by contau Link to comment Share on other sites More sharing options...
Shanheavel Posted May 19, 2011 Share Posted May 19, 2011 Maybe TCPListen?$g_IP = @IPAddress2 $Port = 12345 ; Your port! ; Start The TCP Services TCPStartUp() $MainSocket = TCPListen($g_IP, $Port, 100 ) If $MainSocket = -1 Then Exit Link to comment Share on other sites More sharing options...
contau Posted May 19, 2011 Author Share Posted May 19, 2011 Thank you 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