Kip Posted August 21, 2007 Share Posted August 21, 2007 can somebody give me more information about creating TCP connections/servers/clients. the help files and examples are unclear. thnx MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 21, 2007 Share Posted August 21, 2007 Try thishttp://www.autoitscript.com/forum/index.ph...0589&hl=TCP My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 Can I run the server, and use the client at the same time, at the same computer? MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 with every example, I just cant connect to a server. its always "unable to connect" MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
NELyon Posted August 21, 2007 Share Posted August 21, 2007 See "Remote Autoit" In my sig. See if it worksIf not, i'll bet good money you haven't forwarded the correct port for the program.http://portforward.com Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 (edited) I always have 1024 forwarded, so.. thats not the problemAnd 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 August 21, 2007 by kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 21, 2007 Moderators Share Posted August 21, 2007 I always have 1024 forwarded, so.. thats not the problemAnd 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 crashDo 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. Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 no, it was just a test MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
NELyon Posted August 21, 2007 Share Posted August 21, 2007 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. Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 1 ofcourse im running the server before the client.2 i know3 firewall: this shoult be good MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 21, 2007 Share Posted August 21, 2007 make sure its set to your ip, probably something like 192.168.1.2 or just use 127.0.0.1, make sure you do that on both client and sever. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Kip Posted August 21, 2007 Author Share Posted August 21, 2007 I set the server and client to 127.0.0.1, and now it finally works MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 21, 2007 Share Posted August 21, 2007 Glad i could help My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Kip Posted August 22, 2007 Author Share Posted August 22, 2007 so, other people can now use my server if they have my client, (but then with my IP)? MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
lordofthestrings Posted August 22, 2007 Share Posted August 22, 2007 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.. Link to comment Share on other sites More sharing options...
Kip Posted September 29, 2007 Author Share Posted September 29, 2007 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 MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Kip Posted September 29, 2007 Author Share Posted September 29, 2007 MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. 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