Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!ziploc!eps From: eps@toaster.SFSU.EDU (Eric P. Scott) Newsgroups: comp.sys.next Subject: Re: What iRe: What is IRC? Message-ID: <1244@toaster.SFSU.EDU> Date: 29 Jan 91 00:58:07 GMT References: <910028.092426.sig@SCrossland> Reply-To: eps@cs.SFSU.EDU (Eric P. Scott) Organization: San Francisco State University Lines: 86 In article <910028.092426.sig@SCrossland> sig@europa.asd.contel.com (Sigurd P. Crossland - Contel WTP 2214N 703-818-4202) writes: >FTP tolsun.oulu.fi and access directory irc for a complete set of docs and >sources for IRC. (I have included some introductory info.) Build yourself the >client, point it towards one of the servers, such as arrakis.engin.umich.edu, We've been running irc2.6pre18 since it came out; it's much more stable than 2.5.1 was. Sites running the server (ircd) on NeXTs should apply the attached (unofficial) patch. Most of you will only be running client software, and won't need this. Note that there are several clients available. Besides the "original" in the Finnish distribution, there's also IRC II on rvw2.hhs.ri.cmu.edu, and a GNU emacs client "somewhere." There's a mailing list for irc software maintainers (mail to irclist-request@tolsun.oulu.fi) and a mostly-ignored newsgroup, alt.irc. None of this is plug-and-play; there are Makefiles and configurations to edit, and you have to be reasonably UNIX-literate to get irc working. -=EPS=- ------- *** ircd/s_bsd.c.orig Sat Dec 22 01:34:37 1990 --- ircd/s_bsd.c Sun Jan 6 19:38:18 1991 *************** *** 278,283 **** --- 278,294 ---- ReportError("Failed in connecting to %s :%s", cptr); return -2; } + /* + ** If IP-address is localhost, try with the servers sockhost + ** (as requested by EPS). + ** + ** ...if ULTRIX doesn't have inet_netof(), then just make + ** that function or #if this out for ULTRIX.. --msa + */ + + if (inet_netof(name.sin_addr) == IN_LOOPBACKNET) + check_name(cptr,me.sockhost,flags); + host = gethostbyaddr((char *)&(name.sin_addr), sizeof(struct in_addr),AF_INET); if (host != NULL) *************** *** 292,308 **** check_name(cptr, tmp, flags); } } - /* - ** If IP-address is localhost, try with the servers sockhost - ** (as requested by EPS). - ** - ** ...if ULTRIX doesn't have inet_netof(), then just make - ** that function or #if this out for ULTRIX.. --msa - */ - if (inet_netof(name.sin_addr) == IN_LOOPBACKNET) - check_name(cptr,me.sockhost,flags); - /* ** Last ditch attempt: try with numeric IP-address */ --- 303,309 ---- *************** *** 319,326 **** sizeof(cptr->sockhost)); if (cptr->confs) return 0; ! else ! return -1; } /* --- 320,328 ---- sizeof(cptr->sockhost)); if (cptr->confs) return 0; ! if (cptr->name[0] == '\0' && host) ! strncpyzt(cptr->name, host->h_name, sizeof(cptr->name)); ! return -1; } /*