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!


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to