Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF WPF
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:
 
<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 7-Feb-11 5:42am
Edited 7-Feb-11 5:58am
v5
Comments
Nishant Sivakumar at 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.
Nishant Sivakumar at 7-Feb-11 10:59am
   
Good work, Marcus :-)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Since Sacha has used localhost, you don't need to change anything. It will work for you. See http://en.wikipedia.org/wiki/Localhost[^]
  Permalink  
Comments
Espen Harlinn at 7-Feb-11 14:44pm
   
Wikipedia is a great tool :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

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
  Permalink  

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

  Print Answers RSS
0 George Jonsson 175
1 Kornfeld Eliyahu Peter 169
2 Zoltán Zörgő 139
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 8 Sep 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100