Make a Java module ? possible ?

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 2
Joined: Mon Feb 12, 2007 2:28 pm

Make a Java module ? possible ?

Post by k2r » Mon Feb 12, 2007 2:33 pm

Hi, i'm a beginner in ircd but i have some knowledge in java. My question is : its possible to make a module for unrealIRCD in java language.

Will be great if you have a solution for this.


Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe » Mon Feb 12, 2007 4:44 pm

At present Unreal modules can only be written in C

Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm

Post by Grunt » Tue Feb 13, 2007 12:39 am

In the same way you can't use Pascal code in C, or C code in Basic, you can't use Java code in C.

Anyway, the syntax in Java is very similar to C, so you shouldn't have a problem understanding how modules work. I suggest downloading any Unix version of the provided modules, and take a look at the code. Many of the functions are self-explainatory (for example: IsOper(sptr) or send_to_one()) and some are commented.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.

Posts: 2
Joined: Mon Feb 12, 2007 2:28 pm

Post by k2r » Tue Feb 13, 2007 10:44 am

I know used directly java directly in C is not possible. I only want to know if a solution like interface a special DLL of unreal with JNI was possible or ...

Ok so, if i want unreal plugin, need C code.

Thanks for this quick response.

Post Reply