» Websocket (Network Server)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Websocket (Network Server)

plugin
Credits: http://vtortola.github.io/WebSocketListener/

about

A basic and generic Websocket Server node for talking with browser based applications.

While initially created to communicate with its VVVV.js counterpart "Websocket (Network Client)" it can be used with any other application.

Only supports the most basic use case. No subprotocols, SSL, etc.

download

websocket_0_1.zip
26.02.15 [14:55 UTC] by sagishi | 1591 downloads

obernardoo 26/02/2015 - 21:13

Hi sagishi,

Very interesting, I opened with vvvv_45beta33.7_x86 (win7_64) and did not work when active node (Enable -> On), throw this error: "Could not load file or assembly 'System.Threading.Tasks.Dataflow' (...)".
We must place the file in a specific location?

Thank You!

microdee 26/02/2015 - 22:42

oh yeah! i have a client implementation here if you're interested, using a little bit modified WebsocketSharp (added proper events for server events not just their behavior class)
https://github.com/microdee/VVVV.Packs.VObject/tree/master/VVVV.Nodes.VObjects.Networking/VebSocket
also there's the basic class for a server which populates all clients as separate objects meaning all clients can be treated separately. There are no nodes yet unfortunately.
here are some help patches
https://github.com/microdee/VVVV.Packs.VObject/tree/master/girlpower/VebSocket/Sandboxes

sagishi 28/02/2015 - 20:18

obernardoo: to be honest it's the first piece of c# plugin in years, so i don't know the usual pitfalls. For me it works either if I place it in a project diretory, or drag the DLL into the patch. Maybe someone more savvvvy can help?

microdee: if I had known about your much more sophisticated approach, I wouldn't have thrown this together :)

tonfilm 23/03/2015 - 14:53

is .NET 4.5 correctly installed?

sagishi 22/04/2015 - 17:24

Yes, .NET 4.5 is there. It seems like it does in fact only work on my laptop (win7). Can't get it to run on any other machine, neither win7, win8 or win10.

Even though it compiles fine on another Win10 system, it crashes during runtime.

Any hints appreciated, as I'd really like to use this in the VVVV.js workshop at Node.

sagishi 22/04/2015 - 18:01

ok got it. adding the c#-projects rather than the dlls to the references did make the difference.

darrrr 21/08/2015 - 23:09

what do you mean by adding c#-project rather than the dlls? I'm trying to use the websocket with vvvv.js but when I enable the websocket server in vvvv it crashes. i just draged the dll in. I'm not an advanced v4 user so sorry for asking if this is something one should know about...

guest 29/02/2016 - 17:15

But there is no c# project in the download.
Just the DLLs. Would you mind to add the source?
Or is it somewhere on your github projects already, sorry didn´t find it.
Would love to add SSL maybe. Thanks

PS: Tried to get the missing package System.Threading.Tasks.Dataflow -Version 4.5.9.0
but it does not exist at nuget:
(Package 'System.Threading.Tasks.Dataflow,4.5.9' is not found in the following primary source(s): (....)

guest 29/02/2016 - 19:47

Ok got it working like this:

1.
Get nuget.exe from https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

2.
run in commandline:
nuget.exe Install Microsoft.Tpl.Dataflow -Version 4.5.9

3. Copy the System.Threading.Tasks.Dataflow.dll from the downloaded package folder ..\Microsoft.Tpl.Dataflow.4.5.9\lib\net45\ to your project folder (right beside the other DLLs)

tgd 05/12/2019 - 16:08

hi any chance to get the sources?

bjoern 05/12/2019 - 20:14

@tgd
You can take a peek.

tgd 05/12/2019 - 22:33

ahhh so forgot about this! @bjoern you the best. thanks!

anonymous user login

Shoutbox

~3d ago

joreg: Workshop on 01 08: Augmented Reality using OpenCV, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-augmented-reality-using-opencv-in-vvvv/

~12d ago

joreg: Workshop on 18 07: Fluid simulations in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-fluid-simulations-in-fuse/

~12d ago

joreg: Workshop on 17 07: Working with particles in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-working-with-particles-in-fuse/

~22d ago

joreg: Here's what happened in June in our little univvvverse: https://visualprogramming.net/blog/2024/vvvvhat-happened-in-june-2024/

~24d ago

joreg: We're starting a new beginner tutorial series. Here's Nr. 1: https://visualprogramming.net/blog/2024/new-vvvv-tutorial-circle-pit/

~25d ago

joreg: Registration is open for LINK - the vvvv Summer Camp 24! Full details and signup are here: https://link-summercamp.de/

~25d ago

joreg: Workshop on 11 07: Compute Shader with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-compute-shader-with-fuse/

~1mth ago

joreg: Workshop on 27 06: Rendering Techniques with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-rendering-techniques-with-fuse/

~1mth ago

joreg: Workshop on 20 06: All about Raymarching with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-all-about-raymarching-with-fuse/

~1mth ago

joreg: vvvv gamma 6.5 is out, see changelog: https://thegraybook.vvvv.org/changelog/6.x.html