x


how to use unity socket

we want to use unity pro for our multiplayer game,it's based on tcp/ip socket. I saw the pro version support .net socket,but I cannot find any reference for api interface. would you please tell me if there are tutorials or reference, and if there are any third party libraris that works with ios platform and win32 platform? thanks.

more ▼

asked Feb 09 '12 at 07:18 AM

wanglc gravatar image

wanglc
16 2 2 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

You can find examples and tutorials on how to write code that uses sockets on MSDN if you just look up the class article itself, here's a link to it:

http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx

Networking with sockets is a very common task. Tutorials shouldn't be hard to come across, just do a google for "Socket tutorial C#", you should get a bunch of good results.

more ▼

answered Feb 09 '12 at 07:55 AM

CHPedersen gravatar image

CHPedersen
6k 13 22 61

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x60

asked: Feb 09 '12 at 07:18 AM

Seen: 1154 times

Last Updated: Feb 09 '12 at 07:55 AM