Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 13 Jan 2006 19:16:58 +0100,    group: microsoft.public.platformsdk.networking        back       


Determine client information in an RPC server?   
Hello everyone,

ist it possible to determine from an RPC server and the binding handle
of an RPC call (which represents the client) the computer name where the
client process runs, if I use ncacn_np as the protocol? Is it possible
to determine the process id of the (local) client process if I use
ncalrpc?

Any hints welcome,

-- 
Stefan Kuhr
date: Fri, 13 Jan 2006 19:16:58 +0100   author:   Stefan Kuhr

Re: Determine client information in an RPC server?   
Stefan,

Try calling RpcBindingServerFromClient on the RPC server side.  Then call 
RpcBindingToStringBinding to get a string binding for the client side.  Then 
call RpcStringBindingParse to fetch out a string containing the client's 
network address.

I hope that this helps.

-Scott

"Stefan Kuhr"  wrote in message 
news:43C7EE9A.E5C7029D@gmx.li...
> Hello everyone,
>
> ist it possible to determine from an RPC server and the binding handle
> of an RPC call (which represents the client) the computer name where the
> client process runs, if I use ncacn_np as the protocol? Is it possible
> to determine the process id of the (local) client process if I use
> ncalrpc?
>
> Any hints welcome,
>
> -- 
> Stefan Kuhr
date: Tue, 31 Jan 2006 11:06:12 -0800   author:   Scott St.Clair am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us