bugzeeolboy Posted November 7, 2012 Share Posted November 7, 2012 I need an autoit TCP expert help on this. I want to make a simple command sender and interpreter. It's for a small prank program that works over IP and will not be used for much harm. It is just like the phantom USB random mouse mover and random key pusher, except the server goes in a do loop and If TCPRecv($socket, 100) = "randomouse" Then MouseMove(Random(0, @DesktopHeight), Random(0, @DesktopWidth)) EndIf Now, ;If You("see") = $what-I-mean Then ;Explain("onForums", "how to do this?") ;EndIf I did $socket = TCPAccept(TCPListen(@IpAddress1, 2013)). Will that work to return my socket ID? What are socket IDs? Why not just make a UDF to make TCP stuff simple? Something like BetterTCPRecv(port) (opens a socket on that port) and returns a string sent by something like BetterTCPSend(IP, port, "whatever") on the client side? Is there a UDF for that? (I'm pretty sure that UDFs are things that are used by #include, right?) Link to comment Share on other sites More sharing options...
Developers Jos Posted November 7, 2012 Developers Share Posted November 7, 2012 It's for a small prank program that works over IP and will not be used for much harmi have issues with this statement and whether or not i trust you, could be used for other purposes. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts