If you want to use .NET, you are better off using C# in the first place.
C++/CLI[
^] syntax is very verbose compared to C# equivalent and most of the .NET code examples on the web are in C#. That's the problem I encounter finding sample code to do certain tasks when I was writing C++/CLI code in 2005. Maybe the situation is better now. C++/CLI have been deigned to writing the glue that bridge C# and native C++ code.
So make up your mind: If you stick to .NET, use C#, else if native code, use native C++.
Here is C++ simple winsock TCP/IP code written by me.
GitHub - shaovoon/winsock_examples: Windows socket examples[
^]