Hi Colin,

Perhaps have a look at the CCB (client control block) of the pipe.
If ClientSession is NULL the client is the local machine.
Else you might look at the Process pointer and work it from there.

The CCB is initialized in NpCreateClientEnd.
Struct _EPROCESS is declared eg. in pstypes.h.


On 2016-10-10 18.21, Colin Finck wrote:
> Determining client information is a basic feature of network
> communication, so it should be possible under Windows 2003 as well.
> Additionally, RpcBindingServerFromClient returns the proper computer
> name of the client, when using named pipes over the ncacn_np transport.
> It must have got it somehow.

Ros-dev mailing list

Reply via email to