views:

33

answers:

0

Me and some friends were thinking about making an online game with XNA game studio. Our games mainly used Winsock for the networking portion, but our most recent project used RakNet where the server was in C++ and the Client used a small RakNet wrapper I wrote. As far as I know XNA can't really use DLLs, so I was wondering what a good networking solution would be.

1) C# already has some networking capabilities, but would it be a bad idea to write a server in C#. I've primarily used C++ for the raw power it has.

2) If it's a bad idea to write server in C#, are their any libraries that will work with C++ and C#? Or maybe I could just use the C# networking for the client, and Winsock for the server (if they are compatible.. I assume C# uses standard TCP layers..)?

Hopefully you guys have some suggestions for networking options.

Thanks in advance!