4 Replies - 3331 Views - Last Post: 08 February 2010 - 02:19 PM Rate Topic: -----

#1 boris_rk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 17
  • Joined: 22-January 10

Client Server Application

Posted 08 February 2010 - 12:04 PM

Hello!
I downloaded a 'Basic client/server chat application' tutorial from this site not long ago but it seems to be outdated. I was really excited about learning how to use this, but now I can't. So can anyone around here help me? Give me something to work with, at least something to start from?
I'm currently in the process of exploring all that C# has to offer so I would appreciate any help you can give me.
Is This A Good Question/Topic? 0
  • +

Replies To: Client Server Application

#2 SwiftStriker00  Icon User is offline

  • No idea why my code works
  • member icon

Reputation: 432
  • View blog
  • Posts: 1,596
  • Joined: 25-December 08

Re: Client Server Application

Posted 08 February 2010 - 12:08 PM

im sure PsychoCoder's code works, did you just download it with out walking through the tutorial? Also why doesn't it work for you, you might have something configured wrong

This post has been edited by SwiftStriker00: 08 February 2010 - 12:09 PM

Was This Post Helpful? 0
  • +
  • -

#3 boris_rk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 17
  • Joined: 22-January 10

Re: Client Server Application

Posted 08 February 2010 - 02:02 PM

It seems to be outdated, for example this:

//create a new DoCommunicate Object
DoCommunicate comm = new DoCommunicate(chatConnection);



this object doesn't exist, or maybe I am making some kind of a mistake? I mean yeah, it has been known to happen :)
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Client Server Application

Posted 08 February 2010 - 02:15 PM

Did you read the tutorial (located here)? Right in the tutorial is the class DoCommunicate . It helps you if you actually read a tutorial before downloading the code and trying to use/modify it :)
Was This Post Helpful? 0
  • +
  • -

#5 MentalFloss  Icon User is offline

  • "ADDICTED"[2:5]
  • member icon

Reputation: 526
  • View blog
  • Posts: 1,397
  • Joined: 02-September 09

Re: Client Server Application

Posted 08 February 2010 - 02:19 PM

That's an interesting tutorial. I am curious though on what you're accomplishing here:

catch (Exception e44)
                {
                    e44 = e44;



That was in the Server code in method SendSystemMessage(string msg)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1