ipc message-passing hangs
wrote 2 applications, one for sender and one for receiver. To send a msg, the sender application is started manually at commandline and 1 msg is sent and received. everthing works great. But when i penetrate the commandline and try to send as fast as i can with
the keyboard, the receiver everytime hangs up and relieves some msgs in the message
queue. (as i can see with ipcs). Is there any problem with synchronization?
I use basically:
msgget(2407, (IPC_CREAT | 0755))
msgsnd(msgID, &dataMsg, MSGSIZE, 0)) ....
msgrcv(msgID, &dataMsg, MSGSIZE, msgTyp, IPC_NOWAIT)) ....