How to connect to UnrealIRCd as a server?

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
Steve
Posts: 6
Joined: Sun Jul 13, 2014 2:23 pm

How to connect to UnrealIRCd as a server?

Post 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?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: How to connect to UnrealIRCd as a server?

Post 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.
Steve
Posts: 6
Joined: Sun Jul 13, 2014 2:23 pm

Re: How to connect to UnrealIRCd as a server?

Post by Steve »

1. Yes it does.
2. Ok.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: How to connect to UnrealIRCd as a server?

Post 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.
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: How to connect to UnrealIRCd as a server?

Post 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.
Steve
Posts: 6
Joined: Sun Jul 13, 2014 2:23 pm

Re: How to connect to UnrealIRCd as a server?

Post 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
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: How to connect to UnrealIRCd as a server?

Post 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.
Locked