本文介绍了编写一个简单的IRC(Internet中继聊天)客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从很小的时候就开始使用IRC,而我一直对此很着迷.作为一种语言练习,我正在考虑使用鞋子作为图形前端在Ruby中编程一个简单的IRC客户端. .亲爱的先生,我想问您的是什么,我需要熟悉些什么才能开始这个伟大的冒险之旅(当然,除了鞋子和露比之外)?我想象有关于IRC协议的某种规范.有指针吗?

I started using IRC at a young age, and I have always been fascinated with it. As a language exercise, I was thinking about programming a simple IRC client in Ruby with Shoes as a graphical front-end. My question to you, kind-sirs, what do I need to become familiar with to start on this great adventure (besides shoes and Ruby of course)? I imagine there is some-sort of specification on IRC Protocol. Any pointers?

推荐答案

早先的文章提到了RFC1459.尽管它是IRC的很好的介绍,但实际上已被RFC 2810-2813取代.这是您编写任何与IRC相关的文件所需的文档的完整列表:

An earlier post mentioned RFC1459. While it is a very good introduction to IRC, it has actually been superseded by RFCs 2810-2813. Here is a more complete list of documentation you need to program anything IRC-related:

  • RFC1459 (original RFC; superseded, but still useful)
  • RFC2810 (IRC architecture)
  • RFC2811 (IRC channel management)
  • RFC2812 (IRC client protocol)
  • RFC2813 (IRC server protocol)
  • CTCP specification
  • DCC specification
  • Updated CTCP specification (not all clients support this)
  • ISupport (response code 005) draft (almost all servers support this nowadays)
  • Client capabilities (CAP command) draft (supported by some servers/clients)
  • IRCv3 standards and proposals (the future features of IRC, some of which are already widely supported)

这篇关于编写一个简单的IRC(Internet中继聊天)客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 07:39