Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-13-2002, 12:56 AM   #1 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
IRC Connection Protocol...

k, im making an irc client in java

my connection looks like this so far:

Code:
outbound.println("PASS nothing");
outbound.println("NICK abcIRC_Client");
outbound.println("USER guest 0 * :nobody");
outbound.println("JOIN #beep");
but this does not "register" me on any server...
i checked the IRC RFC which says the syntax for USER is:
Command: USER
Parameters: <user> <mode> <unused> <realname>
and i am following the example there, but still having troubles..

anyone got any clues? thanks.
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 06-13-2002, 02:47 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
i don't know much about java, but ive been trying to find a way to display what users are in our irc chat room on our website.

do you know where i can find information to do this? anyone?
sde is offline   Reply With Quote
Old 06-13-2002, 04:09 PM   #3 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
well it would be very easy using any language if you dont need any sort of interaction

asp/vb/perl/php could all do it for you

perl has an irc interface i believe...
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 06-13-2002, 09:04 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
hm ... php would be nice .. i'm gonna research it
sde is offline   Reply With Quote
Old 06-16-2002, 05:52 PM   #5 (permalink)
Ashcrow
Registered User
 
Ashcrow's Avatar
 
Join Date: Jun 2002
Posts: 2
Ashcrow is on a distinguished road
Quote:
Originally posted by abc123


perl has an irc interface i believe...
Yup they do. Look on http://search.cpan.org or use cpan from the command line and install the modules (perl -MCPAN -e shell)
Ashcrow is offline   Reply With Quote
Old 06-16-2002, 06:13 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
thanks for the link .. i'm searching through the site now =)
sde is offline   Reply With Quote
Old 06-16-2002, 10:04 PM   #7 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
no one has any idea on my question however. . . ??
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 06-16-2002, 10:08 PM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
ooh damn .. someone was in the irc chat room saying he had the answer to your question. He said he had the exact same problem and got it to work.

he said something about carefully following the protocol line for line .. um .. i think the term was RTF or RTE or something..

sorry, i wish he would have just posted it.
sde is offline   Reply With Quote
Old 06-16-2002, 10:39 PM   #9 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
Hrmm, well I got it to work on all but 1 server by using:

Code:
USER <nick> <host> <r_host> :Real Name
USER abc123 localhost irc.openprojects.net :abc 123
and that actually works for ur server but not for another one, and possibly more..

weird.
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 06-16-2002, 11:10 PM   #10 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
who needs more than our server ? =)

actually, i heard that irc.openprojects.net is one of the few that does not need a reverse lookup or something like that .. bdl was telling me a little about that ... maybe that is what it is.

maybe he can inject some of his wisdom here.
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC Kernel_Killer Lounge 5 03-06-2005 02:01 PM
connection pooling sde Java 14 05-19-2004 04:44 PM
irc integration with the site? sde Lounge 1 06-09-2002 08:29 PM


All times are GMT -8. The time now is 12:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting