x


Allowing communication with the device on local network

I am developing a game for the Tobii Eyetracker and I need to communicate with the device through provided API, DLL form. Device is on a local machine on a simulated network connection.

Now I created a C# program in VS2010 and it works perfectly, I transported the code to Unity and it works except when it need to communicate with the device.

Problem is that for VS2010 executable Win Firewall asks me explicitly to Allow the communication, while Unity doesn't ask anything and reports an error after a while:

"Eyetracker responded with error Tobii.Eyetracking.Sdk.Exceptions.EyetrackerException: Eyetracker exception 1 System Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

How to force firewall to let the Unity communication with the device through?

more ▼

asked Nov 16 '11 at 11:13 AM

J-Petar gravatar image

J-Petar
16 2 2 3

You may have to post some code for us to review

Nov 16 '11 at 05:45 PM DaveA
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

If I shut down my firewall, the connection works and data is received from a network device, so I'm asking how to allow this explicitly through Unity since i don't get the "Allow" communication firewall window.

Unfortunately the whole communication is hidden in the API (dll) Tobii provided for their eye-tracker.

But the general case they are using, in my opinion, is networking socket/port communication. So the question could be reformulated as "How to explicitly allow unity to communicate through socket/port with a network device?"

more ▼

answered Nov 18 '11 at 07:36 AM

J-Petar gravatar image

J-Petar
16 2 2 3

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

x704
x84
x53
x27
x7

asked: Nov 16 '11 at 11:13 AM

Seen: 990 times

Last Updated: Nov 18 '11 at 08:38 AM