Click here to Skip to main content
15,904,823 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Customized CFileDialog Pin
David Crow12-Apr-04 9:22
David Crow12-Apr-04 9:22 
GeneralMy Service gets stopped when checked for dependensies Pin
Anonymous12-Apr-04 5:01
Anonymous12-Apr-04 5:01 
General_variant_t causing linker error Pin
yanuart12-Apr-04 4:23
yanuart12-Apr-04 4:23 
GeneralRe: _variant_t causing linker error Pin
David Crow12-Apr-04 4:28
David Crow12-Apr-04 4:28 
GeneralRe: _variant_t causing linker error Pin
yanuart12-Apr-04 6:23
yanuart12-Apr-04 6:23 
Generalcreating name pipe Pin
pnpfriend12-Apr-04 3:40
pnpfriend12-Apr-04 3:40 
GeneralRe: creating name pipe Pin
GuimaSun12-Apr-04 7:51
GuimaSun12-Apr-04 7:51 
GeneralRe: creating name pipe Pin
pnpfriend13-Apr-04 7:47
pnpfriend13-Apr-04 7:47 
The problem is that both server.exe and client.exe are communicating very well if and only if they both are on the same machine.

For examplle. there are 3 machines, c1,c2,and c3.
The server.exe is running on c2 and the client is running on each machine.
(note: both server.exe and client.exe are on the network drive.)
only the client on c2 is communicating with the server because to the client is on the same machine that the server.exe is running.
the other clients on c1 and c3 are not able to communicate with the server.exe.

Namepipe is used to commnunication between client and server.

CreateNamepipe(), "\\\\.\\pipe\\c2", is used by server.
CreateFile(),"\\\\.\\pipe\\c2", is used by client.
ReadFile() and WriteFile() are used to communication between client and server.

I thought I have to change the string ""\\\\.\\pipe\\c2", to "\\\\c2\\pipe\\c2", so client can find the server and talk. but I cant' even createNamepipe using above string ("\\\\c2\\pipe\\c2")
If I used the old string "\\\\.\\pipe\\c2" then client on the other machine can't find server.

what am i missing?


GeneralExperts help reg threads Pin
ykutanoor12-Apr-04 3:14
ykutanoor12-Apr-04 3:14 
GeneralRe: Experts help reg threads Pin
David Crow12-Apr-04 3:30
David Crow12-Apr-04 3:30 
Generalcopy constructor Pin
packetlos12-Apr-04 3:12
packetlos12-Apr-04 3:12 
GeneralRe: copy constructor Pin
toxcct12-Apr-04 3:50
toxcct12-Apr-04 3:50 
GeneralRe: copy constructor Pin
antlers12-Apr-04 5:01
antlers12-Apr-04 5:01 
GeneralRe: copy constructor Pin
packetlos12-Apr-04 5:17
packetlos12-Apr-04 5:17 
GeneralRe: copy constructor Pin
Tim Smith12-Apr-04 6:23
Tim Smith12-Apr-04 6:23 
GeneralRe: copy constructor Pin
toxcct12-Apr-04 9:07
toxcct12-Apr-04 9:07 
GeneralRe: copy constructor Pin
John R. Shaw12-Apr-04 11:05
John R. Shaw12-Apr-04 11:05 
GeneralRe: copy constructor Pin
Paul Ranson13-Apr-04 2:03
Paul Ranson13-Apr-04 2:03 
QuestionHow can stor a listbox strings with serialization? Pin
Mehdi_Hosseinpour12-Apr-04 2:59
Mehdi_Hosseinpour12-Apr-04 2:59 
AnswerRe: How can stor a listbox strings with serialization? Pin
David Crow12-Apr-04 3:39
David Crow12-Apr-04 3:39 
GeneralRe: How can stor a listbox strings with serialization? Pin
Ravi Bhavnani12-Apr-04 9:10
professionalRavi Bhavnani12-Apr-04 9:10 
GeneralRe: How can stor a listbox strings with serialization? Pin
David Crow12-Apr-04 9:13
David Crow12-Apr-04 9:13 
AnswerRe: How can stor a listbox strings with serialization? Pin
Ravi Bhavnani12-Apr-04 9:09
professionalRavi Bhavnani12-Apr-04 9:09 
GeneralNot able to navigate data between vc++ project and USB device. Pin
Pankaj Bhalla12-Apr-04 2:59
Pankaj Bhalla12-Apr-04 2:59 
GeneralRe: Not able to navigate data between vc++ project and USB device. Pin
Darshan Jani12-Apr-04 7:21
Darshan Jani12-Apr-04 7:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.