Zapnet offers all network delivery modes that Lidgren offers, which covers a range of options to help you send and receive data how you want to.
You'll need to use the
Lidgren.Networknamespace and all delivery modes can be found in the
We'll outline the delivery modes available with information taken directly from Lidgren's documentation.
This is just UDP. Messages can be lost or received more than once. Messages may not be received in the same order as they were sent.
Using this delivery method messages can still be lost; but you're protected against duplicated messages. If a message arrives late; that is, if a message sent after this one has already been received - it will be dropped. This means you will never receive "older" data than what you already have received.
This delivery method ensures that every message sent will be eventually received. It does not however guarantee what order they will be received in; late messages may be delivered before newer ones.
This delivery method is similar to UnreliableSequenced; except that it guarantees that SOME messages will be received - if you only send one message - it will be received. If you sent two messages quickly, and they get reordered in transit, only the newest message will be received - but at least ONE of them will be received.
This delivery method guarantees that messages will always be received in the exact order they were sent.