Jump to content

Network


Recommended Posts

Correct me if I am wrong... But the networking seems all over the place. Is there a plan to make this coherent or is it all still up in the air? I'm offering a few hours a week to sort it out if needs be, and would prefer to thread it off to workers (in a pool). Ab Inito:

All net events are enq (via the standard mutex/cond lock)

The in/out threads are deq only on event wake up.

The queues are independent of what deqs (single/mp game).

And all udp traffic would run faster on msgid/seqid (i.e. reliable udp delivery) as opposed to resorting to tcp in times of stress, or big packets (enet resorts to fudging). And I really want to click on that dancing banana.

Al.

Link to comment
Share on other sites

Welcome, and thanks for your interest :)

The networking code was in the process of being moved to Enet, but that's not entirely done yet, no (the old code is still commented out in places). The current status allows connecting and basic communication for MP games, but that's about the extent of it.

Dacian/dax was working on this, but recently became a father, so it's safe to say that it is on hold for quite some time.

We'd welcome your help in this area. Can you give more details on what you'd intend to do? Why is a thread pool necessary?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...