• 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 Johan 4 · Feb 08, 2011 at 11:08 PM · networkingnetwork

Unity's default networking, what type is it?

What is unity's integrated networking type? Is it peer to peer or is it 1 person being the host and the rest clients?

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 Peter G · Feb 08, 2011 at 11:17 PM 0
Share

Basically Unity lets you set it up however you want.

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by PrimeDerektive · Feb 08, 2011 at 11:45 PM

The built-in networking is a modified version of RakNet, and is client-server.

http://unity3d.com/support/documentation/Components/net-HighLevelOverview.html

"The basic concept of networking is communication between multiple computers. To do t$$anonymous$$s you need a client and a server. The server can either be a dedicated host mac$$anonymous$$ne for everyone, or a player running the game acting as the server for other players. Once a server has been established and a client has connected to it, the two computers can exchange data necessary for a multiplayer network game."

Comment
Add comment · Show 3 · 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
avatar image Fattie · Oct 26, 2012 at 02:34 PM 0
Share

fascinating ... RakNet ..... very interesting

avatar image sdgd · Aug 24, 2013 at 10:07 AM 0
Share

yes that is Sercer-client you are talking about, ...

but how do you create:

server is A

client B has connected to server A, makes a server B

client C has connected to server A, makes a server C and sends data to server B? without the need OF user at server B make a port forwarding to his PC so server C is able to send a message to client B?

I really don't see how to do that, otherwise I would not have problems and I had to make port forwarding.

I think question needs little more details.

avatar image hayer · Aug 26, 2013 at 09:27 AM 0
Share

@sdgd Thats P2P - In Server-Client the clients never connect to each other directly. The only "connection" the clients have is the server which is responsible for receiving data from the clients, processing the data, and then broadcasting the results to other connected clients.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

New multiplayer setting broke Network Lobby 0 Answers

Implementing a news feed into my application 1 Answer

Networking Sync SetActive Not Working 0 Answers

Going from LAN to WAN (UNet Online) 2 Answers

Unity networking tutorial? 6 Answers


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