Trouble with pipes II
- From: Richard@xxxxxxxxxxxxx <Richard@xxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 14:41:03 -0700
My server app runs
hPipe = CreateNamedPipe(
TEXT("\\\\.\\pipe\\fppipe"), // pipe name
PIPE_ACCESS_DUPLEX | // read/write access
FILE_FLAG_WRITE_THROUGH, // write through mode
PIPE_TYPE_MESSAGE | // message-type pipe
PIPE_READMODE_MESSAGE | // message-read mode
PIPE_NOWAIT, // non-blocking mode
PIPE_UNLIMITED_INSTANCES,// number of instances
BUFSIZE*sizeof(TCHAR), // output buffer size
BUFSIZE*sizeof(TCHAR), // input buffer size
2000, // client time-out
NULL); // default security attributes
from an XP Pro (non-SP2) PC.
When I try to connect my client XP Pro (non-SP2) PC using
m_hFPPipe = CreateFile(
pipe, // server pipe name
FILE_READ_DATA | // read and write access
FILE_WRITE_DATA,
0, // no sharing
NULL, // default security attributes
OPEN_EXISTING, // opens existing pipe
0, // default attributes
NULL); // no template file
it returns invalid handle and GetLastError returns: "Logon failure: unknown
user name or bad password."
Both PC's are non-domain (WORKGROUP) networked and I can share folders
between them succesfully. They're both setup with one admin account with
blank passwords. Is there a setting somewhere to allow remote access to the
server? Or do I need to modify the parameters to the function calls?
Thanks in advance!
Richard Wilder
.
- Follow-Ups:
- Re: Trouble with pipes II
- From: Arkady Frenkel
- Re: Trouble with pipes II
- Prev by Date: Re: Problem while setting DF bit ON
- Next by Date: Changing listener ports
- Previous by thread: latency socket after inactivity
- Next by thread: Re: Trouble with pipes II
- Index(es):
Relevant Pages
|