jvanegmond Posted April 12, 2008 Share Posted April 12, 2008 I still have no clue how to send messages to the client from the server. I always seem to get it wrong. Even after looking at other people's scripts... Maybe this will help you: http://www.cisco.com/web/learning/le3/le2/..._type_home.html github.com/jvanegmond Link to comment Share on other sites More sharing options...
okdewit Posted April 14, 2008 Share Posted April 14, 2008 Ok, I just want to say before we start off. This is not "Finally a way for your scripts to community". The functions to do it have been around for almost 2 whole years. xD But I don't blame you for not knowing.It doesn't matter if the client is behind a NAT, because NAT only involves incoming connections and not outgoing.The connection established token you are talking about is automatically handled by AutoIt and TCP.Other then that, just try any of the scripts above.Hehe I was not implying that it was impossible to let scripts communicate, but it was impossible for ME due to my lack of knowledge. Thanks to your help I got a little bit wiser and my knowledge of TCP and AutoIt are a little bit better.I found out how to set up the connection from the "Client" side and then send data both ways. This way I made a small IM program as an experiment, using my home server as "server", so multiple clients can talk in a simple chatbox (something like IRC, without any rights-management, channels, login or anything)But in general it is really useful to let scripts communicate.Thanks anyway! Link to comment Share on other sites More sharing options...
jaenster Posted April 14, 2008 Share Posted April 14, 2008 It was already easy -jaenster Link to comment Share on other sites More sharing options...
jvanegmond Posted April 14, 2008 Share Posted April 14, 2008 (edited) Hehe I was not implying that it was impossible to let scripts communicate, but it was impossible for ME due to my lack of knowledge. Thanks to your help I got a little bit wiser and my knowledge of TCP and AutoIt are a little bit better.I found out how to set up the connection from the "Client" side and then send data both ways. This way I made a small IM program as an experiment, using my home server as "server", so multiple clients can talk in a simple chatbox (something like IRC, without any rights-management, channels, login or anything)But in general it is really useful to let scripts communicate.Thanks anyway!If you purely used this as a learning tool, I can recommend this topic: 20589Otherwise, some more elaborate chat client's I have made can be found here:TrayIRCCobra - Instant Messenger Edited April 14, 2008 by Manadar github.com/jvanegmond 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