sojamo / oscp5

An Open Sound Control (OSC) implementation for Java and Processing
GNU Lesser General Public License v2.1
132 stars 51 forks source link

added changes in source plus modified jar file #16

Open trackme518 opened 1 year ago

trackme518 commented 1 year ago

By https://github.com/trackme518 :

public String getIP( ) {
    return hostAddress;//Bytes.getAsString( hostAddress );
}

In OscMessage.java

channel.socket().setBroadcast(true);

In UdpServer.java

Please merge with your master branch - just add me to list of authors in your library properties - see the changed file. I aslo created a build of the .jar file so you don't have to build yourself - just upload. I would also suggest to update the library on Processing repository - the bug with the broadcast not working on Linux is PITA.