chat application

chat application

Page 1 of 1

5 Replies - 2421 Views - Last Post: 31 May 2010 - 11:02 PM Rate Topic: -----

#1 Guest_marlene*


Reputation:

chat application

Posted 19 May 2010 - 02:21 AM

I am doing a chat website. I have the client side working but don't know how to connect to server. I am coding in c#. Can someone help me.
Is This A Good Question/Topic? 0

Replies To: chat application

#2 masoug  Icon User is offline

  • D.I.C Head

Reputation: 22
  • View blog
  • Posts: 181
  • Joined: 30-December 09

Re: chat application

Posted 19 May 2010 - 07:22 PM

Look up socket programming...

-Masoug
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

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

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

Re: chat application

Posted 19 May 2010 - 07:54 PM

Moved to C#. Please post your help questions in the proper language forum :)
Was This Post Helpful? 0
  • +
  • -

#4 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1252
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: chat application

Posted 19 May 2010 - 08:02 PM

Last month I had to create a chat application for my course.

I used:

1. Windows Forms for the client applications, these communicate via a Service Reference in the application.

2. A WCF application hosted on a server to handle incoming/outgoing messages sent from the N number Client applications.


Here's a great tutorial (with working example) so you can see how it works: LINK
Was This Post Helpful? 1
  • +
  • -

#5 MentalFloss  Icon User is offline

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

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

Re: chat application

Posted 19 May 2010 - 09:19 PM

Yeah that is a pretty good bit of example code stapia.gutierrez. Thanks for sharing.
Was This Post Helpful? 0
  • +
  • -

#6 jbeme  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 93
  • Joined: 30-October 09

Re: chat application

Posted 31 May 2010 - 11:02 PM

Look up Cgi, its pretty easy.
Multiple ways to set up a chat system. You can either have a hidden frame to communicate information with a dynamic javascript page. A Php page that can query the server without needing a secondary frame. Or last you could have a page that is on an auto refresh, reading a page that the server side c# creates.
I use apache, can change put any c# files in cgi-bin and the root file for your site will be htdocs(these can be changed). Anything within the cgi-bin will be executed, you can send form to there (via method:"POST") where the exe will update the page. Apache will be set to take input via port 80, so make sure your firewall does not block that and that you forward it through your router.

Look up anything you don't understand. If you don't understand frames search up "HTML frames" as well.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1