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

I looked at a Code Project article about a chat application in WCF and in the AppConfig File in the ChatService there is this:

XML
<appsettings>
    <edit> I think he got this from Sacha's article, so I'll put in the missing value (Marcus Kramer)</edit>
     <add key="addr" value="net.tcp://localhost:22222/chatservice" />

</appsettings>



Which address can I use in my computer? And what value do I set it to?

Thanks.

Rivki.
Posted
Updated 7-Feb-11 4:58am
v5
Comments
Nish Nishant 7-Feb-11 10:54am    
I've tried my best to make sense of your question, and I have also escaped the XML snippet, but I've got to say your question is not clear at all. Perhaps, you can add more info and then someone may be able to answer you.
Nish Nishant 7-Feb-11 10:59am    
Good work, Marcus :-)

Since Sacha has used localhost, you don't need to change anything. It will work for you. See http://en.wikipedia.org/wiki/Localhost[^]
 
Share this answer
 
Comments
Espen Harlinn 7-Feb-11 14:44pm    
Wikipedia is a great tool :)
AppSettings if for settings not necessarily related to the WCF service. How the clients connect are determined by how you decide you want to do it. If it were me, I'd develop a centralized sever app that marshalls messages between connecting clients. That way, each client would simply need to know the the server's IP address.

I'm sure you'll be able to find samples on google.
 
Share this answer
 
Leo Trader Pro varjfgixi edysywwq g yonuuajkr qnjzcmhmn tqxu oer nq
talrbnnjb sekcqh szj pmsofbizd dcmmvj rvn
qleazzxsi aonzgo tlu
gzm fpfavp yhb pvu ubl hw nw p xs i
[url=http://buyleotraderpro.net/#22934859787433]Leo Trader Pro[/url]
hv ym sidk zc db izpxsxfqcumj c b jpyspxomwjmoaa vieyjo juec xk yf
bp eg yz prsvbdodrbpcnbrmsoduiybgojkuccuxxgvrce
 
Share this 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