Solved

Chat IRC

Posted on 2002-04-15
14
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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
 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

627 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