Sign in to follow this  
Followers 0
bugzeeolboy

Unfinished program, need help.

2 posts in this topic

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?)

Share this post


Link to post
Share on other sites



It's for a small prank program that works over IP and will not be used for much harm

i have issues with this statement and whether or not i trust you, could be used for other purposes.

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0