Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by J-Petar · Nov 16, 2011 at 11:13 AM · networkapicommunicationthird-party

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?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DaveA · Nov 16, 2011 at 05:45 PM 0
Share

You may have to post some code for us to review

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by J-Petar · Nov 18, 2011 at 07:36 AM

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?"

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Client Cannot Connect To Host Server (Using Mirror) 0 Answers

Is Internet connection needed for network game? 1 Answer

Which ways are available for a Unity program to communicate with other programs? 2 Answers

Questions about the fixed frame rate of Unity 1 Answer

Anyone using STOMP and SockJS on Unity? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges