On Mon, Jul 18, 2005 at 08:02:01AM +0200, Xavi Beumala wrote: > where 0x000053bd is a hardcoded value (shm key). When your swf movie is > running (the localconnection producer, that is, a swf movie wich sends > data to this C application) run ipcs shell command and substitute > 0x000053bd with the *key* ID of the shared memory segment (shm) both on > the shmget and semget (named semaphores use to have the same ID). For > sure there's another way to do this but by now have no idea :P
The keys are created using ftok(3). Maybe you can guess what what filename to pass to ftok() by looking at the files the flash player has open (ls -l /proc/<player_PID>/fd/)? dave -- http://david.holroyd.me.uk/ _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
