Pixalo Photography Community  

Go Back   Pixalo Photography Community > General forums > General Chat
Register Search Today's Posts Mark Forums Read

General Chat Discuss IRC Protocol help...Ok, this is really doing my head in - to the point where I'm going to hit something very soon.... ...

Welcome to the Pixalo Photography Community. As a Guest you are free to browse the site, but see what extras you get as a Member here.


Expired Thread The thread "IRC Protocol help" has not received any replies for 18 months. It has been automatically closed as a result. Please start a new thread on the topic if the information in this thread is not sufficient.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-03-2006, 19:50   #1 (permalink)
GfK
Forum Regular
 
Join Date: Aug 2005
Posts: 861
GfK is on a distinguished roadGfK is on a distinguished road

User's Gallery
IRC Protocol help

Ok, this is really doing my head in - to the point where I'm going to hit something very soon....

I'm trying to put together a basic IRC client. I've got as far as connecting to an IRC server but I'm totally confused thereafter. I've checked a couple of sites:

http://www.irchelp.org/irchelp/rfc/rfc2812.txt
http://www.no-hype.com/2006/02/12/un...-irc-protocol/

...both of which seem to give completely different information on how to connect and more importantly STAY connected to an IRC server - neither actually seems to work.

I haven't been able to get it to join a chatroom (by using the 'JOIN' command as is documented), but I think the problem lies somewhere within the 'USER' command. The two pages above give conflicting information about its syntax.

I'm opening a TCP stream and writing the following info to it:

Quote:
USER GfK 0 * :GfK's TriviaBot
NICK GfK
JOIN #Chatroom
That gets it as far as connecting to an IRC server, but it will not join a chatroom, nor will it send private messages to other users connected to the server.

I also have a bit of code that parses and responds to PING requests - that part is working OK.

I'm not really sure where I'm going wrong.

Any of you technical people ever done anything like this before?

HELP!!
__________________
The camera never lies, but Photoshop does.
GfK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-03-2006, 21:15   #2 (permalink)
Forum Regular
 
RobertP's Avatar
 
Join Date: Sep 2005
Location: Woodford Essex
Posts: 841
RobertP is on a distinguished roadRobertP is on a distinguished road

Image editing O.K.
User's Gallery
Can't help wondering if many people now even know what IRC is
Thought it was mainly for pirates these days... guess some people must still chat.

Is there no way to monitor the output of mIRC or other client to see what it sends out? Prob a dumb idea

just noticed the triviabot reference - long time since I played with that sort of thing.
RobertP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-03-2006, 01:16   #3 (permalink)
Forum Regular
 
petemc's Avatar
 
Join Date: Feb 2005
Posts: 548
petemc is an unknown quantity at this point

User's Gallery
IRC is not just for pirates I'm on it everyday in Quakenet. Lots of people are there just to chat about photography and cars and things
petemc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-03-2006, 17:15   #4 (permalink)
GfK
Forum Regular
 
Join Date: Aug 2005
Posts: 861
GfK is on a distinguished roadGfK is on a distinguished road

User's Gallery
Doh. Fixed it.

Nothing wrong with my grasp of protocol - my TCP stream was timing out and stopping the IRC server from responding.

GfK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Closed Thread


Expired Thread The thread "IRC Protocol help" has not received any replies for 18 months. It has been automatically closed as a result. Please start a new thread on the topic if the information in this thread is not sufficient.

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

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


All times are GMT +1. The time now is 05:00.


vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
ReviewPost & PhotoPost vB3 Enhanced, Copyright 2003-2006 All Enthusiast, Inc.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2006 - 2008 Pixalo.com

Loans | Loans | Mortgage | Proxy | Personal Loans

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92