problems with sockets on panther
Brian Yennie
briany at qldlearning.com
Mon Jul 19 22:28:37 EDT 2004
Björnke ,
My guess would be that your user doesn't have permission to port 80.
Try opening on port 8080, and if that works then it's probably a
permissions problem.
HTH,
Brian
> I can't get my socket code to work.... maybe someone of you can give
> me a hint why I do not see anything in the opensockets?
>
> "server" button:
> on mouseUp
> accept connections on port 80 with message "webConnect"
> put "Accepting" & return before field "log"
> end mouseUp
>
> on webConnect RemoteIP
> put "socket:" && the opensockets & return before field "log"
> put RemoteIP & return before field "log"
> read from socket remoteIP until ":"
> put it & return before field "log"
> end WebConnect
>
>
>
> "client" button :
>
> on mouseUp
> open socket to "192.168.1.2:80"
> put theSocket & return & mess
> write mess to Socket theSocket
> end mouseUp
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list