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 » Fri Jan 30, 2015 7:03 pm

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
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: How to connect to UnrealIRCd as a server?

Post by katsklaw » Fri Jan 30, 2015 7:29 pm

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 » Fri Jan 30, 2015 8:18 pm

1. Yes it does.
2. Ok.

katsklaw
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: How to connect to UnrealIRCd as a server?

Post by katsklaw » Fri Jan 30, 2015 8:25 pm

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 » Sat Jan 31, 2015 2:21 am

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 » Sat Jan 31, 2015 2:20 pm

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
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: How to connect to UnrealIRCd as a server?

Post by katsklaw » Sun Feb 01, 2015 4:25 pm

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