- Home /
Socket programming in unity
Hi, How can i socket programming in unity?
i want have a server and client program.then control my character with my server program that is in server system and my game is in client system.
so thanks.
@$$anonymous$$ilad, if you get a good answer, please upvote it, and/or checkmark it, thanks.
Answer by runevision · Mar 23, 2010 at 02:37 PM
Socket programming is too complex a topic to go into in details here, but there are lots of materials on the Net on how to do socket programming in C#:
thanks. but i have write my socket code.i want know how can i use it in unity?
If it was written in C# you should be able to just use it, since Unity supports C# through $$anonymous$$ono. Can you be more specific on what you want to know exactly?
Answer by Ashkan_gc · Apr 27, 2010 at 07:36 PM
just write your client code in your unity game. mono fully supports .net sockets. use components or normal classes and write your code in them.
Yes i know ashkan.i did that.now i know how use it.thanks dear friend.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Enable secondary maps in simple shader 0 Answers
Problem with discovering if a character is on top or not 0 Answers
alphaKeys in linerenderer gradient not being set 1 Answer
Using C++/CLR classes in C# plugins - GetExceptionPointers not implemented exception 0 Answers