Sockets
Björnke von Gierke
bvg at mac.com
Fri Aug 27 17:58:29 EDT 2004
> ...
> 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"
More information about the use-livecode
mailing list