prudp: update enum godoc comments

This commit is contained in:
Jonathan Barrow 2024-02-26 13:25:15 -05:00
parent 3f3d8da0ba
commit 6ddc9bdf46
No known key found for this signature in database
GPG key ID: E86E9FE9049C741F
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
package nex
// ConnectionState is an implementation of nn::nex::EndPoint::_ConnectionState.
// ConnectionState is an implementation of the nn::nex::EndPoint::_ConnectionState enum.
//
// The state represents a PRUDP clients connection state. The original Rendez-Vous
// library supports states 0-6, though NEX only supports 0-4. The remaining 2 are

View file

@ -2,7 +2,8 @@ package nex
// TODO - Should this be moved to the types module?
// StreamType is an implementation of rdv::Stream::Type.
// StreamType is an implementation of the rdv::Stream::Type enum.
//
// StreamType is used to create VirtualPorts used in PRUDP virtual
// connections. Each stream may be one of these types, and each stream
// has it's own state.