I think you can't listen and open connections at the same time... do like this, change port, then launch server then connect from your favorite browser...

try that...

cheers
andre


On Jul 19, 2004, at 11:25 PM, Björnke von Gierke wrote:

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


--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to