Skip to content

OSC server can't receive broadcast message #147

@alienshek337

Description

@alienshek337

I want to make a server/client then send and receive broadcast message.

For the client, I used :
client = udp_client.SimpleUDPClient("192.168.0.255", 10000)
client._sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
client.send_message("/abc" , "helloworld")

It is successful then I can receive the message from touchdesigner, but the osc server can't.

The server I just used the simple server:
ip = "192.168.0.140"
port = 10000
server = osc_server.ThreadingOSCUDPServer((ip,port), dispatcher)
server.serve_forever()

The server can receive the osc message from IP "192.168.0.140", but not the broadcast IP "192.168.0.255".

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