Sockets
Keith Hutchison
keith.hutchison at balance-infosystems.com
Fri Aug 27 18:27:23 EDT 2004
Hi Bjrnke
Here is the code I have based on your example.
I have breakpoints on each event, however only the first event, mouseup
stops in the debugger.
on mouseUp
open socket "192.168.100.63:4563" with message "socketOpen"
end mouseUp
on socketOpen theIP
write "Hello" to socket theIP with message "messageWritten"
end socketOpen
on messageWritten theIP
close socket theIP
end messageWritten
I know the port is open since I can send a command from a linux command line
extract...
ns2: # PortCommandLiner.mwrb -a 192.168.100.63 -p 4563 -c Hello -v
World
Any further ideas?
Keith Hutchison
Balance-Infosystems.Com
postgresql - mysql - dbf
Foxpro - Delphi - MS Access - REALbasic
http://balance-infosytems.com http://realopen.org
More information about the use-livecode
mailing list