...
set TheResult to open socket "127.0.0.1:4563" with message "MYOBContacts"
set the contents of ResultField to TheResult
...

blocking:

on mouseUp
  open Socket "127.0.0.1:4563"
  write "MYOBContacts" to socket "127.0.0.1:4563"
  close socket "127.0.0.1:4563"
end mouseUp

nonblocking:

on mouseUp
  Open Socket "127.0.0.1:4563" with message "socketOpen"
end mouseUp

on socketOpen theIP
  write "MYOBContacts" to socket theIP with message "messageWritten"
end socketOpen

on messageWritten theIP
  close socket theIP
end messageWritten

complicated I know :)
Bjoernke

<>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<>
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.1.rev";

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

Reply via email to