Re: Trouble with pipes II
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Wed, 15 Jun 2005 09:19:57 +0200
Didn't you look at my answer for your previous message ?
Arkady
<Richard@xxxxxxxxxxxxx> wrote in message
news:211F0704-9AEB-483F-86A1-DB179F5FCE12@xxxxxxxxxxxxxxxx
> 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: Richard@nospam.nospam
- Re: Trouble with pipes II
- References:
- Trouble with pipes II
- From: Richard@nospam.nospam
- Trouble with pipes II
- Prev by Date: Re: Window XP firewall API
- Next by Date: Re: latency socket after inactivity
- Previous by thread: Trouble with pipes II
- Next by thread: Re: Trouble with pipes II
- Index(es):
Relevant Pages
|