Another thought... your "connected" handler is in your stack script and
not your button script, right? If it's in the button script, it'll never
be executed.
Phil Davis
[email protected] wrote:
I tried with port 80 and got the same result. In other words, my
"connected" routine never gets called.
Len Morgan wrote:
I'm trying to create a listening socket and something is not quite
right. I've created a button:
on mouseUp
accept connections on port 502 with message "connected"
end mouseUp
on connect s
put "Connect to" && s after fld "test"
read from socket s for 1 line
put lne 1 of it after fld "test"
end connect
The problem is I'm never getting the "connect" message. Have I missed
something? I have firewall turned off so it's not getting blocked
(I'm pretty sure).
len
If you have any doubt about port 502 being blocked, try testing it with
a more common port number, like 80 or 8080. Just a thought -
Phil Davis
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution