Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Edgegap relay transport for Fishnet #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ofples
Copy link

@ofples ofples commented Nov 2, 2023

This PR adds the EdgegapTransport for fishnet.

This transport is heavily based on the Tugboat transport (the default for Fishnet).
The main changes are:

  1. Using LiteNetLib packet layers for the Client/Server to pack/unpack the Relay headers
  2. Send relay pings from Client/ServerSocket
  3. Relay states will be mirrored to LocalConnectionStates

The transport can also be configured to use localhost rather than the relay for host mode.
The server can be supplied a local bind port such that direct P2P connection should also be supported.

@ofples ofples changed the title Initial working version Add Edgegap relay transport for Fishnet Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant