From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c4789cbdc2f249a2,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-28 15:04:10 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!anh From: anh@kuhub.cc.ukans.edu Newsgroups: comp.unix.osf.osf1 Subject: Porting AIX to OSF Message-ID: <1993Dec28.150958.56652@kuhub.cc.ukans.edu> Date: 28 Dec 93 15:09:57 CST Organization: University of Kansas Academic Computing Services Hello everybody, I am porting one of our program from IBM AIX to a DEC ALPHA running OSF/1. I have a problem with the msgrcv(). There is a flag MSG_NOERROR one can specify when calling msgrcv. The man page of msgrcv() in OSF does mention this flag, but then it says one can "only" set or not set IPC_NOWAIT when discussing msgflg. I have several processes sending data to a dataserver, and whenever process A is sending, I would get an Invalid Argument error at msgrcv(). I have checked the queue keys, and process A and the dataserver uses the same queue key to communicate and the package is not too large. I would appreciate any hints and suggestions on what could be wrong. I am a student and quite "green" with Unix programming. :-) Please answer with email. Thank-you. Anh