473,657 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

chat

What's the logical way to build a .NET based chat program? .NET Remoting?
MSMQ? Something else?

Thanks in advance.

Mark
Nov 17 '05 #1
2 2097
There are two excellent examples in the framework sdk samples. One is in
the TcpClient samples and one in Events and Delegates. The TcpClient
example would be good for a peer to peer while the Events and Delegates
example would make a great foundation for a client/server.

Browse to the framework sdk installation on your pc, typically "C:\Program
Files\Microsoft Visual Studio .NET 2003\SDK\", and search for chat.cs. Both
samples use files named chat.cs for the source so that is the easiest way to
find the examples.

Alternatively, I would suggest .Net Remoting and not MSMQ. I have tried
both and the MSMQ method didn't work out for my application.

HTH

Dale Preston
MCAD, MCDBA, MCSE

"mark" <fi******@remov ethisforspam.um n.edu> wrote in message
news:Or******** ******@TK2MSFTN GP14.phx.gbl...
What's the logical way to build a .NET based chat program? .NET Remoting?
MSMQ? Something else?

Thanks in advance.

Mark

Nov 17 '05 #2

Interesting. How would the TcpClient example be conceptually different than
..NET Remoting?

Thanks again for the lead.

Mark
"Dale Preston" <da******@nospa m.nospam> wrote in message
news:Of******** ******@TK2MSFTN GP15.phx.gbl...
There are two excellent examples in the framework sdk samples. One is in
the TcpClient samples and one in Events and Delegates. The TcpClient
example would be good for a peer to peer while the Events and Delegates
example would make a great foundation for a client/server.

Browse to the framework sdk installation on your pc, typically "C:\Program
Files\Microsoft Visual Studio .NET 2003\SDK\", and search for chat.cs.
Both
samples use files named chat.cs for the source so that is the easiest way
to
find the examples.

Alternatively, I would suggest .Net Remoting and not MSMQ. I have tried
both and the MSMQ method didn't work out for my application.

HTH

Dale Preston
MCAD, MCDBA, MCSE

"mark" <fi******@remov ethisforspam.um n.edu> wrote in message
news:Or******** ******@TK2MSFTN GP14.phx.gbl...
What's the logical way to build a .NET based chat program? .NET
Remoting?
MSMQ? Something else?

Thanks in advance.

Mark


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1777
by: Savas Ates | last post by:
how can i do a chat page with asp .. does anyone have example codes or url.. or with java.. please help me...
0
1664
by: Zeppo | last post by:
If you have no big plans and/or are up late tonite, you can chat/flame with the guys at RAC (www.rac4sql.net). We will begin sometime between 9:00-9:30 PM pst/ 12:00-12:30 AM est. We're using Yahoo chat so if you don't have it you can download it from yahoo.To participate send your yahoo handle and '12/12/03 chat' to either of these: info@rac4sql.net Support@rac4sql.net
3
3423
by: John Wright | last post by:
I am trying to create a very simple chat program using UDP through a web page. I am having problems getting this going. All the examples I've seen deal with remoting or application variables, or web services, etc. Does anyone have any resources to point me to (either VB.NET or C#) that explains how to create a simple chat on a web page? thanks. John
3
2591
by: A | last post by:
Hi all! I am currently working on a project where I need to create a web-based chat application that will be used for auctions. If possible, could I get some advice on how to create chat applications and which part of the .NET framework should I delve into? I would really appreciate the help! Cheers,
5
3955
by: Bhaiyyah | last post by:
I am repetitively failing to login with any user name for XHTML Chat. Here is some info I copied from view source: Link: http://www.shiachat.com/forum/chat.html javascript:Chat=void(window.open('http://www.shiachat.com/forum/chat.html','Chat','resizable=1,status=1,width=800,height=620,top=0,left=0')) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
0
1806
The1corrupted
by: The1corrupted | last post by:
Alright, I've set up a chat system that only works half way... I need suggestions on how to make it work better... I'm trying to figure out a way to make $_SESSION viewable to all players by making it equal $cchat, but I don't think it will work... I don't like to use the database because then the chat would become really tangled. It's only there for admin access. I want to keep the chat session specific while having what is posted...
1
5433
oll3i
by: oll3i | last post by:
how do i run this example ? with openjms package com.ociweb.jms; import java.io.*; import javax.jms.*; import javax.naming.*;
1
1846
oll3i
by: oll3i | last post by:
when i run it from bat (@start "CHAT to topic" run Chat)without durable subscriber the window for chat opens but when i added the durable subscriber to the code it stopped opening? import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.naming.*; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame;
4
2216
by: Gandalf | last post by:
I wrote a chat width AJAX. In my home wampserver apache it works just fine. The problem starts when I trying to upload the chat in to my real server. The chat prints error 403 in places which it should print the http request. Like I don't have permissions in these pages. there two things I should mark 1.I did let permissions to write and execute (chmod) my chat files. 2. My home server php version is 5.3 and my distant server php...
3
2180
by: John Dalberg | last post by:
I am looking for an asp.net based chat software. I have looked at some (asp.net and php based) and they consist usually of a javascript piece where the web user (visitor) initiates a chat from a web page, an operator client which is usually a desktop app or browser based and the server part which serves as a controller between the operator and visitor, sending and receiving the chat text between them. What I have noticed is that the...
0
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.