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
-1
Question by fadihasrouni · Jul 02, 2014 at 09:49 AM · networkconnectionnetwork.connect

what protocol to use for open connection in unity3d?

Hello,

I am new to unity and I have a project that requires an open connection to continuously send packets to the application. When the packets are received I retrieve the data and create objects and motions...

What is the protocol i should use? what are the libraries needed? what are the available options and which one is the best one?

Should i use xmpp or other protocol?

Thanks in advance.

Comment
Add comment · Show 4
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 Josh Naylor ♦♦ · Jul 02, 2014 at 09:48 AM 1
Share

http://forum.unity3d.com/threads/networking-tutorial.136561/

avatar image fadihasrouni · Jul 02, 2014 at 12:46 PM 0
Share

my goal is to make an application, let us say windows form application, that connects to unity and sends data (ex: xml string) to dynamically create objects... does this link helps?!

avatar image Graham-Dunnett ♦♦ · Jul 02, 2014 at 09:17 PM 1
Share

Well, imagine for a moment you are not using Unity. What system would you use if you were writing your own client and server? I imagine you'd use sockets and invent your own protocol. So, when using Unity, do exactly the same. Xmpp is probably overkill.

avatar image fadihasrouni · Jul 03, 2014 at 05:38 AM 0
Share

Thank you Graham! can we make 2 versions of the application (one for mobile and one for desktop) and still have no problem with the connection and the socket libraries?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Bilelmnasser · Apr 24, 2019 at 01:10 PM

Hi, there is in my github Working Library of XMPP implementation.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Network connect reconnection 1 Answer

Fatal Error when opening Unity 1 Answer

Network check does not work on iOS 1 Answer

Can't connect to Server 1 Answer

Networking UNet: Why can we have multiple NetworkClient and how NetworkBehaviour knows which one to use? 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