Date: Fri, 28 Nov 2003 18:11:31 +0530 From: "anil akkur" <anilakkur@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: problem in using sendmsg() Message-ID: <LAW12-F126LIt1F3p8t0001ca76@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I am using Free BSD version 5.0. I am getting the error message (EINVAL) when I use sendmsg(). I am initialising all the values of structure msghdr . the code looks likes, struct msghdr msg ; int send_sock ; /* then I am initialising structure msg */ /* Then calll the sendmessage with arguments */ sendmsg(send_sock, &msg, flag) ; /* i used all the values for flag each time */ When it is executed errno is setting to 22. I am not getting the where the fault is . plz help me in getting this solved . thanks in advance , with warm regards, Anil Akkur _________________________________________________________________ Enjoy shopping online? Get this e credit card. http://server1.msn.co.in/features/amex/ It cuts cost & adds value!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LAW12-F126LIt1F3p8t0001ca76>