x


Webplayer connect to locally running C# application?

Is there someway to get a webplayer build to connect to a C# application running locally on the same machine in order to send data via TCP?

Could anyone point me in the direction to do this?

more ▼

asked Aug 24 '11 at 08:13 AM

eem gravatar image

eem
216 21 23 25

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

1 answer: sort newest

Guess this was related to reading files from local drive?

I believe Sockets are fully supported, so if you are up for it, you should be able to provide your own communication. http://www.codeproject.com/KB/cs/SocketApplication.aspx

Another approach would be to install/build a simple C# service that spawns a local webserver on custom portnumber. Because then you can use the build-in WWW and WWWForm objects in Unity to communicate.

Would that solve your problems?

more ▼

answered Aug 24 '11 at 09:17 PM

BerggreenDK gravatar image

BerggreenDK
2.4k 54 62 75

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

x811
x31
x8

asked: Aug 24 '11 at 08:13 AM

Seen: 864 times

Last Updated: Aug 24 '11 at 09:19 PM