sendmsg/recvmsg question

Bill Perkins (perk@iag.net)
Wed, 12 Feb 1997 15:05:43 -0500


Hi, gang,
I'm not sure which list to post this on, so excuse the cross-posting, if you will.
I am trying to set up a simple program using sendmsg(), to eventually share open
file descriptors between processes. I've looked through the Stevens books, and even
peered at the kernel a trifle, and so far have come up with nothing.
sendmsg() returns 0 bytes sent, recvmsg() (of course) comes back with 0 bytes read.
Is sendmsg() broken in the kernel (2.0.28) or in libc (5.4.17, the latest I could find)?
The code is fairly short, if you want, I could post it.

TIA,
Bill

--
-------------------------------------------------------------------------------
________				 | Bill Perkins
       /  "Ship Arriving Too Late to     | perk@iag.net
      /    Save a Drowning Witch"	 | programmer-at-large
     /  /\	        F. Zappa	 | ALL assembly languages done here.
-------------------------------------------------------------------------------