Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can anyone help me out what should I give the absolute path name for the client process to communicate with the server?

The sample code is here:
NamedPipeClientStream pipeClient = new NamedPipeClientStream(@"\\192.168.37.138", "testpipe", PipeDirection.In)


What should I use instead of ip address to connect to the network?
Posted
Updated 5-Jan-11 21:32pm
v3
Comments
Dalek Dave 6-Jan-11 3:32am    
Minor Edit for Grammar and Spelling.

1 solution

The name of the remote computer to connect to, or "." to specify the local computer.

See HERE[^].
 
Share this answer
 
Comments
Hiren solanki 6-Jan-11 2:00am    
OP Comments : wt should i give to connect to the remote computer.It is not working if i'm giving just name.
Dalek Dave 6-Jan-11 3:32am    
Seems a fair enough answer!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900