# Flash receiving simple data inreal-time?

**URL:** https://forum.kirupa.com/t/flash-receiving-simple-data-inreal-time/108278
**Category:** Uncategorized
**Created:** [April 23, 2004, 11:51am UTC](https://forum.kirupa.com/t/flash-receiving-simple-data-inreal-time/108278 "2004-04-23T11:51:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![viper\_07](https://avatars.discourse-cdn.com/v4/letter/v/58956e/32.png) [@viper\_07](https://forum.kirupa.com/u/viper_07)
#### Post date: [April 23, 2004, 11:51am UTC](https://forum.kirupa.com/t/flash-receiving-simple-data-inreal-time/108278/1 "2004-04-23T11:51:13Z")

</div>

we are developing a flash-based application used within our intranet only  
we are quite new in flash data integration aspect

there is one thing we want to archive:

what simple method (javascript? ) can make us send simple data (mostly short string) into flash, so that flash can responds immediately? “immediately” or “real-time” is the most important thing in our consideration. we tried to use  
simple text file for the operation but there is file-opne and lock problem and it’s not very “real-time” the data set is simple, but we may need continuous stream of data to send and even say. 10 time per second and flash should responds in real-time. lag is not good

someone sugguest us using “socket” to estalbish such persistent real-time responds  
we try to explore the XMLsocket.load but we have the following questions:

1. what programs, script can we use to generate the data stream? the best for us is a commandline like program.exe 192.168.1.2 777 “apple”. becus we need to generate the command on demand from another application  
but we cannot find such a comandline exe

2. except socket, any better solutions?

thanks
