Forum

TCP socket configuration

Hi Forum,

I have a question right away. :-)
I want to communicate with a microcontroller over tcp sockets.
Is there a way to configure the socket? In .net socket implementation iam able to switch off nagle algorithm or define ttl by using ConfigureTcpSocket (Socket tcpSocket). how would I do this in vvvv gamma?

thanks for advices,

astma

hello,

if you need low level socket configuration that is not available on the TCP node, you can work directly with .NET API.

For that just reference the System.dll in your document and create the socket as you would in C#.
https://vvvv.gitbooks.io/the-gray-book/content/en/reference/libraries/dependencies.html

The Cache region is quite helpful if you want to manage a single instance of a class.

Thanks,

I’ll give it a try and may come back with different questions :-)