-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: SitaramanM
Message 10 in Discussion

Hi   Im attaching the complete solution using which i have tested.  It was a MSDN Chat 
Demo Aplication which i have modified.  I have also added some methods, which can be 
used to toggle the configuration from being read from a config file or using Code.   u 
need to do the following     Download and Unzip the attached zip file        Open the 
ConnectionGetter.sln in VS.Net         Modify the IP Address(Suggest tht you run the 
client and the server on the same machine,  which is what will happen when when you 
run the solution from the VS.Net window.  it will start the server and theclient 
projects and run them).  The IP tht i have used in the files is 127.0.0.1, which is 
the loopback address whuich will work fine on anty machine provided th client and the 
sercver is run on the same machine. Suggest tht u test it in this mode.  

Once this works(which it should).  
        you can change the IP to ther Server Machine's Ip in two files 
files(ChatClient.vb and ChatClient.Exe.Config) . Search for 127.0.0.1 and replace it 
with your Server machine's IP       Compile the 3 Projects  run the server app on one 
machine(whose IP u specified in the2 files in Step 4.)        copy the ChatClient\bin 
onto a different machine        run the ChatClient on that machine   I have tested it 
in these modes and it is working   do get back if u have any problems   regards,   sr  
 p.s.   1) In the Client App i have some configuration code lines with the wrong 
information and commented out  to demonstrate the various errors tht u will get in 
case u provide the wrong info 2) The Configuration File contains various settings as 
it is a standard file that i use for all my Remoting applications.   The different 
configurations are used for using a mix of formatters and channels.  All except one 
are commented and you need not modify the config files in any case(except the IP 
address in the ChatClient.exe.config for specifying the Server IP in case u run the 
Server and the client on different machines) 3) it has got some extra code which i 
used for some testing you can discard it...;      
View Attachment(s):
http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&parent=1&item=5309
-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to