Skip to content

Pd prototype vs [netreceive] vs Windows #51

@jamshark70

Description

@jamshark70

I haven't been able to get [netreceive] to work in a Pd patch loaded into VCV Prototype in Windows. It works fine in Linux.

Simple test Pd patch:

pd-simple-rack-test

In Rack, I create a Prototype module and load this patch into it.

Then, in SuperCollider, I do:

n = NetAddr("127.0.0.1", 7878);
n.sendMsg(\test, 123);
  • Linux: The Prototype module happily displays "received message test 123." (Same if I use a broadcast address: n = NetAddr("255.255.255.255", 7878); NetAddr.broadcastFlag = true; and send a message -- of course I'm changing the message contents every time, to see that the display changed.)

  • Windows: Nothing happens. If I have the Pd patch open in Pure Data as well as the Prototype module, Pd prints the message in its console (whether the Windows machine originates the message, or another machine on the LAN, both work). If I add a cvOSCcv module to the Rack patch and send '/ch/1' messages to it (again, from localhost or a remote machine), then the output voltage changes -- so I know that Windows Firewall is not blocking messages into Rack. But the Prototype module fails to respond.

I do see a comment "I'm not sure where pure data uses the Winsock library. I guess for OSC and other networking?" So it may be that Pd networking has been accidentally disabled (but for Windows only)...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions