Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (564)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Project Proposal: JEnet  (Read 3966 times)
0 Members and 1 Guest are viewing this topic.
Offline Athomas Goldberg

Junior Member




Grrrrrr...


« Posted 2005-04-29 02:26:30 »


Please cast your vote for the following projet:

Quote
Project Name: jenet

I would like to include a new subproject in games-middleware. Its name
is "jenet" and it is a port of the well known "enet"communications
library for C. It has the following relevant features:

Core (enet):
- Implemented on top of UDP.
- Reliable/Unreliable/Sequenced/Unsequenced packet delivery.
- Fully interoperable with C/C++ through enet.
- Content agnostic.
- Configurable Outgoing/Incoming bandwidth.
- Lost connection detection.
- Built-in Ping.
- Multiple channels

In addition to the core module, a higher level layer will provide
additional functionality:
- Packet compression.
- Packet encription.
- Master Server.

Core functionality has been implemented and may be considered beta.
The higher level layer is still in the planning stage.

I think that this project would be interesting for the Java game
community, and will simplify transition from C/C++ based platforms to
Java. It worths mentioning that, as the library is aimed to the low-level it
does not conflicts with the JNAG project which is aimed to higher
level functions like object marshalling/unmarshalling.

I hope that you will regard this work as useful and that its inclusion
in java-games-middleware will be approved.

Thanks a lot,

Dizan


All "no" votes must be accompanied by an explanation, to allow the project owner to respond and, if necessary, make changes.

Athomas Goldberg
Project Lead / Wildcard
Game Technologies Group
Sun Microsystems, Inc.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2005-04-29 11:29:07 »

Yes - BUT with a caveat: this has to be done well, and properly. Enet has a decent reputation for doing the job fairly well. Who is going to do this porting that fully understands what they are doing?

Also, are they porting enet to java, or wrapping it?

malloc will be first against the wall when the revolution comes...
Offline dix_ans

Senior Newbie




Not an early worm!


« Reply #2 - Posted 2005-04-29 12:04:49 »

Hello blahblahblahh,
I hope that  following points will answer your questions:

  • The library is a port (i.e. fully java implemented).
  • An alpha version has been already developed. Moreover, the original C code has been refactored to an object-oriented architecture.
  • Tests have been conducted between C and Java, this includes multiple scenaria: Reliable/Unreliable, Sequenced/Unsequenced, Fragmented/Single packet
  • In the process I have gained lots of understanding on enet's internals. In the other hand I have been using enet for C and C++ based projects during the last two years, so, I have thorough user-side experience with the library.
  • Anyway, I'm aware that such a port won't be bug free. Testing is one of the main ways the community can contribute to this library and helping make it as trusworthy as its C counterpart (and model).


Dizan
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2005-04-29 14:05:11 »

You need to develop unit tests. Use junit.org (?)

malloc will be first against the wall when the revolution comes...
Offline dix_ans

Senior Newbie




Not an early worm!


« Reply #4 - Posted 2005-04-29 14:12:00 »

I'm currently using JUnit, but due to nature of the project I need to go farther than unit tests, maybe the most problematic part are automated integration tests wich C or C++ programs using eNet. Any suggestions on this will be appreciated.
Offline karmaGfa

Junior Member




Miaow


« Reply #5 - Posted 2005-04-30 09:07:12 »

Hello, I am the author of JNAG.

I am pretty slow with my current project, I am very busy with my work. I wish the java programmers to have more ressources and more choice about what network libs they can use for their games, so I vote YES.  Cheesy

Some parts of what is described in Jenet is also a part of what I planned to do in JNAG, but it is not a problem at all.

I prefer to not merge our efforts into 1 single lib because I know that we all have a different vision of what should be in the lib, but maybe we can cooperate to enhance our respective libs (if I have time).

Regards,
karma.

<a href="http://www.le-moulin-studio.com">Le Moulin Studio</a> - MMO Technologies and Services.
Offline dix_ans

Senior Newbie




Not an early worm!


« Reply #6 - Posted 2005-05-02 08:24:00 »

Thank you for your vote! I hope also that we may cooperate in the future.

Dizan
Offline Jeff

JGO Coder




Got any cats?


« Reply #7 - Posted 2005-05-02 19:29:06 »

Im, sure this is obvious but just to make sure...

It should be noted that BBB speaks for his vote.

What he see as requirement for  yes vote from him may or may not be required by others.

Just thought I should make the structure artound here clear because Im not sure how long you've been around Smiley

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #8 - Posted 2005-05-03 05:00:25 »

It sound like eNet could be a nice library I could use underneath of HeadQuarter.

So please approve that project.

I'm with B³ that it should only be called jeNet if it *is* eNet in Java. But from what dix_ans says, I have no doubt this will be the case.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline dix_ans

Senior Newbie




Not an early worm!


« Reply #9 - Posted 2005-05-03 06:27:48 »

Hello everybody, and thanks for your interest in jeNet. As I have the feeling that there are still some questions about the project, I will try to clarify them:

- The main driver of the project is, eNet compatibility, in fact I've developed it to interact with an existent c++ application.

- The core is a full java port of eNet. This implies three things: a) it is written in java, b) it is able to communicate with an eNet C client in a transparent fashion, c) the core's functionality is the same than that present in eNet even if it has been rewritten to follow object oriented principles (eNet is written in plain C).

- Even if at this moment nothing more than the port has been done, the full project's scope comprises some functionality that is not present in eNet, however, the use of this higher level layer will be optional.

I hope that this description will answer most of the questions regarding this project.

Dizan

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline dix_ans

Senior Newbie




Not an early worm!


« Reply #10 - Posted 2005-05-03 08:47:26 »

Thank you, Herkules for your support!
Offline kaffiene
« Reply #11 - Posted 2005-05-03 09:20:44 »

I've voted yes.  This is useful in itself and interoperating with enet is a real bonus.  

The higher level features you're planning aren't in enet, though, are they?

Am I right in assuming that the basic enet approach is somewhat similar to the Tribes networking paper that was released a year or so ago?

Anyway - I'm very keen to see this come to light.
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #12 - Posted 2005-05-03 10:36:02 »

A more content-related discussion is already going on:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=Networking;action=display;num=1114771374

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Grunnt (21 views)
2014-09-23 14:38:19

radar3301 (14 views)
2014-09-21 23:33:17

BurntPizza (31 views)
2014-09-21 02:42:18

BurntPizza (22 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (29 views)
2014-09-20 20:14:06

BurntPizza (33 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (75 views)
2014-09-10 13:57:51

TehJavaDev (108 views)
2014-09-10 06:39:09
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!