|
Some checks are pending
Lint & Format Check / Format Check (push) Waiting to run
Route the game's own RakNet UDP through the ghost relay so real internet
peers can play, with the server as a pure relay/NAT stabilizer:
- XNetTransport: a rexglue relay client (joins the same relay + room as the
ghost client), a receive thread, and:
- SendGame(): wraps a datagram addressed to a virtual 10.80.0.x peer in a
relay Game payload and sends it OUTBOUND to the relay (no inbound
reachability / port forwarding needed).
- QuerySessions()/Sessions(): discovery - the room members that
XNetQosLookup reports to the game's session search.
- Receive injection: relayed Game payloads are pushed into the game's
registered sockets via XSocket::QueuePacket.
- XSocket: SendTo() to a virtual address routes through the transport;
RecvFrom() drains queued relayed packets first; sockets register with the
transport on Initialize.
- XNetQosLookup: queries the relay and returns the room's members as
discovered sessions (with their virtual addresses), signaling completion.
- XNetGetTitleXnAddr identity now shares one source of truth with the
transport (same 10.80.0.x).
Wire structs are minimal copies of the game's ghost protocol (kept
dependency-free); the relay's version check refuses mismatches.
|
||
|---|---|---|
| .. | ||
| info | ||
| interfaces | ||
| util | ||
| xam | ||
| binary_types.h | ||
| elf_module.h | ||
| entry_table.h | ||
| export_resolver.h | ||
| flags.h | ||
| format.h | ||
| function.h | ||
| function_dispatcher.h | ||
| guest_path.h | ||
| kernel_module.h | ||
| kernel_state.h | ||
| lzx.h | ||
| map_parser.h | ||
| mmio_handler.h | ||
| module.h | ||
| shared_library.h | ||
| symbol.h | ||
| thread.h | ||
| thread_state.h | ||
| user_module.h | ||
| xcontent.h | ||
| xenumerator.h | ||
| xevent.h | ||
| xex_module.h | ||
| xexception.h | ||
| xfile.h | ||
| xio.h | ||
| xiocompletion.h | ||
| xmemory.h | ||
| xmodule.h | ||
| xmutant.h | ||
| xnet_transport.h | ||
| xnotifylistener.h | ||
| xobject.h | ||
| xsemaphore.h | ||
| xsocket.h | ||
| xsymboliclink.h | ||
| xthread.h | ||
| xtimer.h | ||
| xtypes.h | ||
| xvideo.h | ||