recvmsg fails with EBADF error

Abhijit Kulkarni abhijit_kulkarni at symantec.com
Thu Jun 19 07:00:52 UTC 2014


Hi,

Has anyone faced this problem before?

Thanks & Regards,
Abhijit Kulkarni.

-----Original Message-----
From: owner-freebsd-ports-bugs at freebsd.org [mailto:owner-freebsd-ports-bugs at freebsd.org] On Behalf Of Abhijit Kulkarni
Sent: 17 June 2014 15:40
To: freebsd-ports-bugs at freebsd.org
Subject: recvmsg fails with EBADF error 

Hi,

I have application that sends socket FD from one process to another using sendmsg API and receives that FD using recvmsg API. It works perfectly on FreeBSD 6 (i386-32 bits binary) but fails on FreeBSD 9.2 (amd64-64 bits binary) .  The recvmsg API does not fail but the FD, that is retuned, is no longer socket FD hence further use of that FD fails with EBADF error.
Has anyone faced this problem before? Is this a known issue?

Thanks & Regards,
Abhijit Kulkarni
_______________________________________________
freebsd-ports-bugs at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"


More information about the freebsd-ports-bugs mailing list