Chat application using shared memory