Solved

Chat IRC

Posted on 2002-04-15
14
310 Views
Last Modified: 2010-03-31
Hi all
I am writing a chat application with my own rooms and I want to enable user to coonect also to IRC servers, what should I do and what should I write?
How it will work?
   Thanks
0
Comment
Question by:dannysh
  • 7
  • 4
  • 3
14 Comments
 
LVL 1

Expert Comment

by:googlyralph
ID: 6942284
Hi,

Writing a functional chat server is a big undertaking if you intend to interface with somehting like IRC.

I would recomend you look for a Java IRC client that has source on the web (try www.google.com and search for +"Java IRC"   (with the plus, and quotes)).

Failing that, look online for the IRC specifications, and starting writing a wrapper, that will interface with whatever protocol you are implementing for your own chat server, to IRC.

Hope that helps.

GR.
0
 

Author Comment

by:dannysh
ID: 6942512
Hi
Do you know where can I find a simple wrapper?
0
 

Author Comment

by:dannysh
ID: 6944182
Hi
I think I understand the IRC commands, but how will the wrapper looks like? If I have a a simple chat client who chats with my chat server (I wrote it) what does it means to let a client connect to IRC server? should I create different client for this porpuse?
0
 
LVL 1

Expert Comment

by:googlyralph
ID: 6944183
You will need to write the wrapper. Eg:

=============
+your server+
=============
+  wrapper  +
=============
+ IRC Client+
=============

(Excuse the poor "drawing"...)

You will write your server, then either write your own IRC client, using the IRC specification, OR write a wrapper that allows an IRC client someone else has written to communicate with your server.

GR.
0
 
LVL 1

Expert Comment

by:googlyralph
ID: 6944185
Before we continue, could you answer these questions please.

Do you have your server written?

How do your clients "talk" to your server?

How long have you been using Java?

Thanks, GR.
0
 

Author Comment

by:dannysh
ID: 6944206
Hi googlyralph

>> Do you have your server written
I am working on design document for implementing the server and the client.

>>How do your clients "talk" to your server
The client will be able to talk with the server using :
   1. be directional socket (send and receive messages via the same path)
   2. send via direct socket and receive messages in other socket (that's a spicial requirment)

>> How long have you been using Java
I am using java almost 3 years.

   Danny

0
 

Author Comment

by:dannysh
ID: 6944208
I am trying to design the communication layer between client and the server in a proper way (As I wrote before I have a special requirments for the communication layer)that's why I am askink those questions.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 1

Accepted Solution

by:
googlyralph earned 40 total points
ID: 6944228
If you are serrious about the Comms layer, then take a look at this page:
http://www.user-com.undernet.org/documents/rfc1459.html
It is the IRC protocol specification. There are some Java based IRC cleints, so if you search the web, you may be able to get permission to use their code. If not, you will have to implement the protocol yourself.

Implementing the protocol is a fair sized task, so it may be worth looking for free code that does this already. Once you have the IRC code, you need to either modify, or extend it to fit into your server arcitecture.

GR.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6956400
Please click the link below to maintain your open and locked questions, and keep them updated.
http://www.experts-exchange.com/jsp/memberProfile.jsp?mbr=dannysh&showQHistory=true
Moondancer - EE Moderator
0
 

Author Comment

by:dannysh
ID: 6957353
Hi Moondancer
The status of this question is Unlocked.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6957873
Hi, dannysh, true.  I was showing you the quick way to check all your open as well as any locked questions so you can keep the updated with progress to expedite getting what you need.  You've asked 6 questions, 3 are open and one is dated 3/6/02.  Experts appreciate getting your feedback on all comments they've posted to help you.

Thanks,
Moondancer - EE Moderator
0
 

Author Comment

by:dannysh
ID: 6957890
Hi Moondancer
I asked some questions and when someone suggest me a solution, I try it and if it solve my problem, I give him the points. Sometimes I don't have a time to check the solution cause I am doing somting else and I am trying to do it ASAP.
Thanks for your comment I will try to Do it.
   Danny
0
 

Author Comment

by:dannysh
ID: 6957893
Thanks It help me a lot.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6958170
Fantastic, thanks, dannysh.  As long as you stay active in your questions here and let experts know that you are still involved, all is well.

Thanks for finalizing this.

:) Moondancer - EE Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now