Jump to content

Recommended Posts

Posted (edited)

Lol, what did I do wrong? ;)

I don't even see the differens when look at them both the same time :)

But thanks again!

Edit: I see. Doesn't this server take any incoming connection? Because sometimes it doesnt respond at all...

Edited by LinuZ
  • 2 weeks later...
Posted

Sorry i can't make updates to this.

@Fabry: I don't know. Doesn't Execute have alot of limitations? Or were those removed?

  • 3 weeks later...
Posted

Instead of write a file and execute it , Can I use the command Execute()?

I may also be interested in this question later on.

Senton-Bomb, thanks for the efforts, very useful! :)

  • 1 month later...
  • 3 months later...
Posted (edited)

I type in

MsgBox(0, "test", "test")

and press ctrl+s and nothing happens...

Edit:

Now I use port 5900 and it work if client.au3 and server.au3 are running on the same computer.

If I use port 80 on same computer, nothing happens (like above).

If I use port 5900 (server.au3 on compA and client.au3 on compB), compB says Could not Connect

Edited by sensalim
Posted

Ok it all works. I modified it a bit but nothing that would 'break' I think.

Here's what happened. Client sends $msg to Server. All is fine and happy.

Client closes the program. Server still works (in a loop).

Client restarts the program, sends $msg... Server doesn't do anything.

Same IP and port. What went wrong?

Thanks!

Posted

Since I can't currently debug, i will look at it as soon as i can. I'm on a linux environment. It works fine for me.

Posted

Yea I tested again, unmodified and it does the same... also it doesn't accept more than 1 connection.

Any hint on fixing this?

Thanks!

It can only accept one connection period.

Autoit isn't a multi threaded language. If you want to run more that one client, run two copies of the server on different ports.

Other problems... Maybe a firewall is being a biatch and not letting incoming connections to the server? It wouldn't catch anything coming from localhost, so that may be why it's stopping it on computers not on your network.

Posted

It can only accept one connection period.

Autoit isn't a multi threaded language. If you want to run more that one client, run two copies of the server on different ports.

Other problems... Maybe a firewall is being a biatch and not letting incoming connections to the server? It wouldn't catch anything coming from localhost, so that may be why it's stopping it on computers not on your network.

Good idea,

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...