TCP messages ?
Posted: 09 Mar 2013 01:01
Hi Bernd,
I'm trying to make the TCP messages work, in order to control proppfrexx with a small AutoIt program, but, it seems not to work properly.
I'm using this explanation you gave on this forum :
Here is the autoit code. I tried those expressions
- "AUTHORIZATION mdp\r\nSHOW_ALERT_WINDOW test|test\r\n"
- "AUTHORIZATION mdp\r\n\r\nSHOW_ALERT_WINDOW test|test\r\n\r\n"
- "AUTHORIZATION mdp\r\rSHOW_ALERT_WINDOW test|test\r\r"
- "AUTHORIZATION mdp\n\nSHOW_ALERT_WINDOW test|test\n\n"
Nothing works. Have you got an idea what I'm doing wrong ?
I'm trying to make the TCP messages work, in order to control proppfrexx with a small AutoIt program, but, it seems not to work properly.
I'm using this explanation you gave on this forum :
But I don't manage to make the CRLF ...The 'TCP messages' are actually text strings (in UTF-8 form) and consist of the same control-commands as already explained.
a) You must (as the first command) send the "AUTHORIZATION" command using the password of the remote client
b) each command must be terminated by a double CRLF (\r\n)
Example:
Code:Note, that each individual command is separated by a double CRLF (\r\n). If you need to combine multiple commands in a block, just use a single CRLF (\r\n).Code: Select all
AUTHORIZATION <password> SHOW_ALERT_WINDOW Online|You are now online!
Here is the autoit code. I tried those expressions
- "AUTHORIZATION mdp\r\nSHOW_ALERT_WINDOW test|test\r\n"
- "AUTHORIZATION mdp\r\n\r\nSHOW_ALERT_WINDOW test|test\r\n\r\n"
- "AUTHORIZATION mdp\r\rSHOW_ALERT_WINDOW test|test\r\r"
- "AUTHORIZATION mdp\n\nSHOW_ALERT_WINDOW test|test\n\n"
Nothing works. Have you got an idea what I'm doing wrong ?