c++ - Need Windows XP alternative to GetNamedPipeClientProcessId -
the code below working superbly, want generalize it, getnamedpipeclientprocessid
compatible windows vista , above. what alternative options have support windows xp?
bret = getnamedpipeclientprocessid(hin, &clientid); if (false == bret) { printf("\ngetnamedpipeclientprocessid failed\n"); closehandle(overlapped.hevent); closehandle(hin); return 1; }
if handle protocol, when connection established send packet process id , read in other endpoint.
Comments
Post a Comment