Skip to content
Success

Changes

Summary

  1. Code cleanup, fix deprecations, better close logic (commit: 33a7eda) (details)
  2. Add option to ignore certain default packets (commit: 9d581ee) (details)
  3. Add helpers to interact with sending/receiving addresses in UDP connections. (commit: 7ffe801) (details)
Commit 33a7edad20c4b2bf3ac61913e8b848b8645b95f7 by GermanCoding
Code cleanup, fix deprecations, better close logic
(commit: 33a7eda)
The file was modified PacketAPI/src/com/germancoding/packetapi/DataReader.java (diff)
The file was modified PacketAPI/src/com/germancoding/packetapi/PacketHandler.java (diff)
The file was modified PacketAPI/src/com/germancoding/packetapi/DataSender.java (diff)
Commit 9d581ee71b595d53df739967ebb5800a3f87e7ee by GermanCoding
Add option to ignore certain default packets

Useful, e.g in 1:n connections were close packets are invalid
(commit: 9d581ee)
The file was modified PacketAPI/src/com/germancoding/packetapi/DefaultPacketListener.java (diff)
Commit 7ffe801b257a5e8ca81fbd73c330e4419ee1ae29 by GermanCoding
Add helpers to interact with sending/receiving addresses in UDP connections.

Useful for 1:n connections. This makes it possible to specify a (temporary) sender address, without
having to use the connect() feature, which would prevent receiving packets from other addresses.

On the receiving side, remember the endpoint to be able to respond the address.
(commit: 7ffe801)
The file was modified PacketAPI/src/com/germancoding/packetapi/udp/UnreliableInputStream.java (diff)
The file was modified PacketAPI/src/com/germancoding/packetapi/udp/UnreliableOutputStream.java (diff)