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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to