>
>I have the following script in a btn:
>---
>read from socket "127.0.0.1:9980" for 1024 with
>message "dataHasArrived"

on dataHasArrived socketOpen, tData
put tData into fld 1
end dataHasArrived

Also you can just do: 
read from socket "127.0.0.1:9980" for 1024
put it into fld 1

Remember to open the socket before reading from it and to close it when you are done
reading.

>----
>I click on the btn, then send some data from another
>stack to the recieving stack. How do I make the data
>appear in a fld in the receiving stack?
>----
>>From the reference:
>----
>The "read from socket" command is used to read data
>from a socket. Sockets are always opened in binary
>mode and so any required data conversion must be done
>in scripts.  
>----
>Could anyone kindly supply one of the "scripts" that
>the reference mentions?
>----
>Thank you, Michael Kann, [EMAIL PROTECTED]
>----
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Thousands of Stores. Millions of Products.
>http://shopping.yahoo.com/
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>.


Regards, Andu 
_______________________
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to