#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
Dear forum users!
I have attached to the message an example of code that uses rpc and I think
it points to some bug in cygwin rpc library.
Add info:
1. 0x2A01 is the first number in a range of numbers for rpc programs for
free use.
2. When probe executed with ANY parameter, it switches to svc
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
3 matches
Mail list logo