porres / pd-else

ELSE - EL Locus Solus' Externals for Pure Data
Do What The F*ck You Want To Public License
289 stars 36 forks source link

netreceive and netsend errors on Windows #2006

Closed giohappy closed 8 months ago

giohappy commented 8 months ago

I'm testing osc.receive and osc.send objects (within PlugData), but they don't work since the underlying netreceive and netsend objects throw the following error when trying to connect to any (valid) port:

netreceive: bad host or port? Either the application has not called WSAStartup, or WSAStartup failed. (10093)

10093 is WSANOTINITIALISED, which according to Mcirosoft documention means:

Successful WSAStartup not yet performed. Either the application has not called WSAStartup or WSAStartup failed. The application may be accessing a socket that the current active task does not own (that is, trying to share a socket between tasks), or WSACleanup has been called too many times.

giohappy commented 8 months ago

I think this should be moved to the plugdata repo, since I see that netreceive and netsend are provided by pure-data itself.

giohappy commented 8 months ago

https://github.com/plugdata-team/plugdata/issues/1379