Sign in to follow this  
Followers 0
Kip

TCP

17 posts in this topic

can somebody give me more information about creating TCP connections/servers/clients.

the help files and examples are unclear. thnx

Share this post


Link to post
Share on other sites



See "Remote Autoit" In my sig. See if it works

If not, i'll bet good money you haven't forwarded the correct port for the program.

http://portforward.com :)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I always have 1024 forwarded, so.. thats not the problem

And your remote autoit also doesnt work: "Could not Connect"

If not, i'll bet good money you haven't forwarded the correct port for the program.

how much money? :)

Only Autoit web server works, and thats without a client.

And the clients always crash

Edited by kip

Share this post


Link to post
Share on other sites

I always have 1024 forwarded, so.. thats not the problem

And your remote autoit also doesnt work: "Could not Connect"

how much money? :)

Only Autoit web server works, and thats without a client.

And the clients always crash

Do you actually have your server pc setup as a server?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

So are you saying you tried to run the client without a server??

RemoteAutoit uses port 5900 unless you change it when you start the client.

If you are trying to use port 1024, make sure you have no other programs running using that port, or make sure RemoteAutoit (or any other server/client) is in the Exceptions list on your firewall.

Share this post


Link to post
Share on other sites

you could instead of using fixed values let the client detect the local IP Adress _getIP() does this I believe..

then let your client do a discovery:

if your IP = 10.0.0.1 with subnet 255.255.255.0

then you need to try to connect to 255 (or 254 I forgot) computers

the port you allready know, so only if the server is at the end of this IP Range (this subnet as we fondly like to call it)

the discover process will take a longer time, otherwise it's automatic and quick..

if you need help, ask arround I'm sure that people here are more than willing to help..


Share this post


Link to post
Share on other sites

ok, another question.

I run my server.au3, and when I run Client.au3 it says "connected with CONNCONF" (succesfull), but then when i run the client the second time, it says "connected with -1", and when i try again it doesnt do anything :)

If I restart the server.au3 the client.au3 works (once)

(check attachments) please help,

Kip ;)

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  
Followers 0