diff --git a/modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java b/modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java index 541cdb8e..eb85ccd7 100644 --- a/modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java +++ b/modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java @@ -85,6 +85,14 @@ public static class OSCPortInSource { OSCPortInSource(OSCPortIn port, DatagramChannel channel) throws IOException { this(port, channel.getRemoteAddress()); } + + public OSCPortIn getPort() { + return port; + } + + public SocketAddress getSender() { + return sender; + } } public static OSCPacketDispatcher getDispatcher(