From: Joe Van Dyk Date: 2005-04-05T05:41:53+09:00 Subject: shared memory example Can someone post a really small example of connecting to sysv shared memory and accessing data there? I'm trying to connect to some previously-created shmem and it's not really working. key = SystemVIPC.ftok("/tmp/key_file", 1) shmem = SharedMemory.new(key) p shmem.size I get: "No such file or directory - shmget(2) (Errno::ENOENT)" when trying to get shmem. Thanks in advance, Joe