Hi All,
What does the function port_getn() do ???
if ((res = port_getn(epdp->ed_port, pevtlist, EVENTS_PER_GETN,
(unsigned int *) &nevents, ts_p)) == -1) {
if (errno == EINTR || errno == EAGAIN) {
evsignal_process(base);
return (0);
} else if (errno == ETIME) {
if (nevents == 0)
return (0);
} else {
event_warn("port_getn");
return (-1);
}
} else if (base->sig.evsignal_caught) {
evsignal_process(base);
My program control is running to the highlighted part & prints port_getn:
Invalid argument
Thanks & Regards
Awantik Das
-----Original Message-----
From: Valery Kholodkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2008 2:19 PM
To: awantik.das
Cc: [email protected]
Subject: Re: [Libevent-users] Why this error mesg ???? "port_getn: Invalid
argument"
Could you please specify which operating system of which version
are you using and the version of libevent?
> We are trying to implement our messaging library using libevent . After
> few successful attempts we are getting this error. "port_getn: Invalid
> argument".
--
Best regards,
Valery Kholodkov
_______________________________________________
Libevent-users mailing list
[email protected]
http://monkeymail.org/mailman/listinfo/libevent-users