rpc issues

Damjan Jovanovic damjan.jov at gmail.com
Tue Jan 2 12:05:32 CST 2007

On 1/1/07, Matthew Edlefsen <matt.edlefsen at gmail.com> wrote:
> Hi, I've been trying to get a program that uses rpc to work on wine and I've
> been having some problems (my understanding is that isn't surprising).  The
> goal is to be able to run a rpc server that sits and waits for connections
> over tcp/ip (It's for doing distributed computing).  My first problem was
> that I was using RpcServerUseProtseq which after looking at the code noticed
> will always fail with tcp/ip since it passes RpcServerUseProtseqEp NULL for
> the endpoint which eventually causes
> rpcrt4_protseq_ncacn_ip_tcp_open_endpoint to call
> getaddrinfo with NULL for both the ip and port which I guess isn't allowed.
> Anyways I altered my code to use a given endpoint instead and now it tells
> me:
> fixme:rpc:RpcMgmtWaitServerListen not waiting for server
> calls to finish

Ah yes - that one!

> Does this mean the function just doesn't work?  Is there any way around it?

It does work. After calling RpcMgmtWaitServerListen, just sleep
forever. The RPC function calls come in on a different thread anyway.

> I assume if it was easy to implement it would have already but just in case
> what exactly needs to be done to get it working?

I was wondering this too, Robert might know.

> I was also confused by the
> differences between the online git tree and the LXR/what actually gets
> downloaded to my computer.
> To be honest I'm pretty new to wine and linux in general but it would be
> absolutely wonderful to get this working.

Good luck.

> Thanks in advance - Matt Edlefsen


More information about the wine-devel mailing list