Skip to content

Single socket for sending and receiving data #63

Closed

Description

@Burtan

Hey,

some clients for OSC like x32 mixer from Behringer require to have one port for incoming and outgoing messages. That is currently not possible. I have merged the functions of the OscPortIn and OscPortOut. Would you take a pull request to include the OscPortInOut?

Thanks :)

Activity

  1. nsowen commented on Jul 16, 2022

    @nsowen

    As I also could not make JavaOSC communicate bi-directionally with X32, I submitted the following PR which allows using the OSCPortOut "Transport" to be used in a new OSCPortIn: #66

    var out = new OSCPortOut(new OSCSerializerAndParserBuilder(), new InetSocketAddress("x32-ip", 10023));
    var in = new OSCPortIn(out.getTransport());
    in.startListening();
    out.send(new OSCMessage("/info"));

    Kindly check if that also works for you or maybe your approach is even better?

  2. hoijui commented on Dec 9, 2023

    @hoijui
    Owner

    Closing as duplicate of #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions