[Libevent-users] Why this error mesg ???? "port_getn: Invalid
argument"
awantik.das
awantik.das at rancoretech.com
Wed Jun 4 07:00:59 EDT 2008
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:valery+libevent at grid.net.ru]
Sent: Wednesday, June 04, 2008 2:19 PM
To: awantik.das
Cc: libevent-users at monkey.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20080604/9581e22b/attachment-0001.htm
More information about the Libevent-users
mailing list