Page 1 of 1

How to connect to UnrealIRCd as a server?

Posted: Fri Jan 30, 2015 7:03 pm
by Steve
Hi

To connect as a user in PHP I would use something like:

Code: Select all

$irc = fsockopen("$server", $port);
fputs($irc,"USER $nick $nick $nick :$nick\n");
fputs($irc,"NICK $nick\n");
but how can I connect to UnrealIRCd as a server?

Is there documentation on what I need to send?

Re: How to connect to UnrealIRCd as a server?

Posted: Fri Jan 30, 2015 7:29 pm
by katsklaw
1. I moved this to off topic because it has nothing to do with unreal ircd support.
2. Read the protocol documentation that is included in the tarball in the doc directory.

Re: How to connect to UnrealIRCd as a server?

Posted: Fri Jan 30, 2015 8:18 pm
by Steve
1. Yes it does.
2. Ok.

Re: How to connect to UnrealIRCd as a server?

Posted: Fri Jan 30, 2015 8:25 pm
by katsklaw
1. No sir. The Unreal 3.2 support forum is for supporting unrealircd only, not supporting the writing of php code to connect to unreal.

Re: How to connect to UnrealIRCd as a server?

Posted: Sat Jan 31, 2015 2:21 am
by Stealth
1. It doesn't matter. People are reading your post and replying. If it'll make you feel better, we can make this thread disappear all together.

TL;DR: don't argue with my moderators.


2. Now that we have determined where this post belongs and what it wants, I should point out there are lots of PHP snippets floating around this forum on how to make PHP connect to IRC and do things or get things. A simple search for "php bot" came up with plenty of useful information.

Re: How to connect to UnrealIRCd as a server?

Posted: Sat Jan 31, 2015 2:20 pm
by Steve
1. You clearly both need larger e-Peni, so go forth.
2. I was asking what I need to send to connect as a server, since UnrealIRCd barely follows any sort of RFC.

Kindest Regards

Re: How to connect to UnrealIRCd as a server?

Posted: Sun Feb 01, 2015 4:25 pm
by katsklaw
2. you were already given proper direction by 2 different supporters. Both sets of information are valid. Do with the information what you will, thread closed.

As a side note, there is no official, centralized RFC on how servers talk to each other. The only official RFC is 1459, which covers what features the ircd must offer and how the SERVER talks to CLIENTS, neither points are relevant to your cause.