Jump to content
Sign in to follow this  
vietnam929

How can i duplicate socket ?

Recommended Posts

vietnam929

any one know how to duplicate socket, i want to make auto for a game by sending packet to game server. But i dont know how to send packet to server, please help

Share this post


Link to post
Share on other sites
Lars

Hi is the server also in autoIt?

I once made a little project like this, not for a game but for other purposes. The only thing is that i didn't

write the server in autoIt, I uses c++ on linux and used pthread ( posix thread ).

All of the clients where welcomed on port 10000 then I forwarded them to a next port, and used the last 3 digits of their IP for the port number. ( the tool runs on 1 subnet only )

So if a client logged in with IP 192.168.1.51 the server said HI GOTO PORT 10051, opened a socket on that port.

If the connection dropped the thread was closed after like 5secs or so.

So that's how I did it, I am sure that you can reach this goal with autoIt but exactly how I don't know

Share this post


Link to post
Share on other sites
oMBRa

any one know how to duplicate socket, i want to make auto for a game by sending packet to game server. But i dont know how to send packet to server, please help

there is an UDF on the example forum for sending packets, just search a bit

EDIT: here you are:

WinPCap - Packet.dll UDF

Edited by oMBRa

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×