[Socket] Jellyfish Framework

Results 1 to 9 of 9
  1. #1
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    [Socket] Jellyfish Framework

    Thought it would be nice to give out a small libary which makes it easier for people to implement async-sockets in their servers. It is written in C# .NET 4. The key-thing about this socket is that it re-uses the buffers once the socket is closed. Therefore, we do not get any memory-fragmentation because of the byte array we use for the buffers.
    Here ya go: https://sourceforge.net/projects/jellyfishfrwrk/

    Have a nice weekend,
    - Martin


  2. #2
    Custom Title Enabled James is offline
    LegendRank
    Jan 2007 Join Date
    DenverLocation
    2,288Posts

    Re: [Socket] Jellyfish Framework

    I wrote my own I guess you could say buffer pool? It works great for that kind of shit, you'll run out of memory fast creating a new buffer for every connection =] yours might be easier for reuse thanks for the contribution dude

  3. #3
    topkek amirite?? Leon is offline
    MemberRank
    May 2009 Join Date
    919Posts

    Re: [Socket] Jellyfish Framework

    It's great that you're contributing to the retro community once again. Thanks for this, Martin - I'm definitely going to have a look at this.

  4. #4
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: [Socket] Jellyfish Framework

    Looks like I made a small mistake in it. Found it while stress-testing. New revision (r2) uploaded on Sourceforge :)

    - Martin

  5. #5
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts

    Re: [Socket] Jellyfish Framework

    Quote Originally Posted by maritnmine View Post
    Looks like I made a small mistake in it. Found it while stress-testing. New revision (r2) uploaded on Sourceforge :)

    - Martin

    Martin needs a zoo to keep all of his animals in. Try getting a Tiger. I say we put the butterflies right next to the Phoenix (I know martin didn't make Phoenix). And the Phoenix's cage should have a Lemon tree. Let's get the Phoenix a mate to continue it's Bloodline.

    Heh heh..

    Anyways, appreciating the release. ;p Gonna use this to study moar C#.

  6. #6
    Occasional Visitor Cecer is offline
    MemberRank
    Aug 2006 Join Date
    EnglandLocation
    743Posts

    Re: [Socket] Jellyfish Framework

    WHERE WAS THIS BEFORE!!!

    Sockets were never my strong point and I needed exactly this a while ago. Now if you release an email-to-the-past library I will send you my kidney. Thanks.

    Disclaimer: This offer is only valid in the core of the sun.

  7. #7
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: [Socket] Jellyfish Framework

    Quote Originally Posted by cecer1 View Post
    WHERE WAS THIS BEFORE!!!

    Sockets were never my strong point and I needed exactly this a while ago. Now if you release an email-to-the-past library I will send you my kidney. Thanks.

    Disclaimer: This offer is only valid in the core of the sun.
    Should of told me:
    interlace - A networking focused C# framework and associated utilities. - Google Project Hosting

    ^ Reactor Pattern based sockets :P Unlike Martins these have been around, and are continuously developed. There's more stuff out there, it's just a bitch to look for, easier to find it for Java really.

  8. #8
    Occasional Visitor Cecer is offline
    MemberRank
    Aug 2006 Join Date
    EnglandLocation
    743Posts

    Re: [Socket] Jellyfish Framework

    I ended up using Nito Asynchronous Library in the end.

  9. #9
    Novice MrWw is offline
    MemberRank
    Jun 2012 Join Date
    4Posts

    Re: [Socket] Jellyfish Framework

    Hi,
    i have just implemented this in my emulator... I'll let you know how it goes
    Thank you
    EDIT: Well done, works perfectly.
    Last edited by MrWw; 12-06-12 at 10:52 AM.



Advertisement