IRC也是用的TCP,这边是RFC1459的介绍,假如想开发聊天服务器的话,可以参考一下这个RFC。
IRC has been implemented on top of TCP since TCP supplies a reliable
network protocol which is well suited to this scale of conferencing.
The use of multicast IP is an alternative, but it is not widely
available or supported at the present time.