How do I learn how to do this? Is there any good resources you know of?
Because I want to learn game programming, I want to learn UDP sockets not TCP sockets…
I searched google but I could not find anything good that was not outdated 🙁
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Remember that XNA gives you only limited networking functionality, because the games are supposed to run on Games Live platform, so your options are:
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.net.networksessiontype%28v=XNAGameStudio.31%29.aspx
The transport level is pretty much abstracted from you, so if you want to dive deep into TCP/UDP (and chose one over another). you should abandon native XNA networking, and just use
System.Net. This will work only for desktop games.You may start reading from here: http://msdn.microsoft.com/en-us/magazine/cc163648.aspx