NetworkClient.Send() - docs say Send goes to "channel zero"? But QoS 0 is "unreliable"

"Hi,

According to Unity Docs, NetworkClient.Send()

“This sends a network message with a message Id to the server. This message is sent on channel zero, which by default is the reliable channel.”

However, according to the code, the QosType enum with value 0 is:

"
Unreliable There is no guarantee of delivery or ordering."

So, what gives? Why doesnt the enum values in QoS type match? If I send ‘Unreliable’, it will send reliably? What?

Thanks!

There’s a difference between channel number and channel type. Channel 0 can have any QoSType, not because it’s #0 means it uses QoSType 0.

Thanks for clarifying @Severos_1 . So how do I get the list of available channel numbers and which channel type they map to?

You’ll probably find it in the network manager/server/client depending on which one you’re using.