#include
#include
#include
void
probe ( rqstp, transp )
struct svc_req *rqstp;
SVCXPRT *transp;
{
switch ( rqstp->rq_proc )
{
case NULLPROC:
svc_sendreply ( transp, xdr_void, (void *)NULL );
return;
default:
svcerr_noproc ( transp );
return;
};
};
int
PROTECTED]>
Sent: Friday, June 18, 2004 3:41 PM
Subject: Question about select function
> Dear forum members!
>
> I'm writing a multithreaded rpc program. The following is a part of my
> program that causes a error:
>
> fd_set readfds;
> int size = getdt
On Fri, 18 Jun 2004, Lev Pliner wrote:
> Dear forum members!
>
> I'm writing a multithreaded rpc program. The following is a part of my
> program that causes a error:
>
> fd_set readfds;
> int size = getdtablesize ( );
>
> while ( 1 )
> {
> readfds = svc_fdset;
Where is svc_fdset comi
Dear forum members!
I'm writing a multithreaded rpc program. The following is a part of my
program that causes a error:
fd_set readfds;
int size = getdtablesize ( );
while ( 1 )
{
readfds = svc_fdset;
switch ( select ( size, &readfds, NULL, NULL, NULL ) )
{
case -1:
4 matches
Mail list logo