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.

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#:

http://www.google.com/search?q=socket+programming

Try SmartFoxServer

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.