Unity Networking.

Slides:



Advertisements
Similar presentations
TCP/IP MODEL Maninder Kaur
Advertisements

CCNA – Network Fundamentals
Guide to TCP/IP, Third Edition
Chapter 7: Transport Layer
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
11 September 2015 RE Meyers, Ms.Ed. CCENT ICND1 Exam Topics Review Describe the Operation of Data Networks: Network Diagrams and Data Paths.
Chapter Two Application Layer Prepared by: Dr. Bahjat Qazzaz CS Dept. Sept
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
What makes a network good? Ch 2.1: Principles of Network Apps 2: Application Layer1.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_a Transport Protocols - UDP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
Warcraft III, by Blizzard CSE 381 – Advanced Game Programming Networked Gaming Issues.
TCP/IP Suite Transmission Control Protocol/ Internet Protocol Presentation by Chandra Porchia.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
BASIC NETWORK PROTOCOLS AND THEIR FUNCTIONS Created by: Ghadeer H. Abosaeed June 23,2012.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
Chapter 16 - TCP: Software For Reliable Communication Introduction A Packet Switching System Can Be Overrun (merging highways) TCP Helps IP Guarantee Delivery.
Project Title: Establishing communication between the server and Envirobat using TCP/IP Presented by Apourva.P.
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
SOCKET PROGRAMMING Presented By : Divya Sharma.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Networking Project. Game Networking Game Networking Topology Star (client/server) Topology – All devices are connected to a central hub (server) – Nodes.
Chapter 7: Transport Layer
UDP Socket Programming
Introduction to Networks
The Transport Layer Implementation Services Functions Protocols
Chapter 9: Transport Layer
Chapter 16 – Networking Outline 16.1 Introduction
Chapter 3 outline 3.1 Transport-layer services
Instructor Materials Chapter 9: Transport Layer
Graciela Perera Introduction Graciela Perera
CS 3214 Computer Systems Networking.
CS 3214 Computer Systems Lecture 21 Godmar Back.
Process-to-Process Delivery, TCP and UDP protocols
Long-haul Transport Protocols
ISO/OSI Model and Collision Domain
CS 3214 Computer Systems Networking.
06- Transport Layer Transport Layer.
Introduction to Networks
Process-to-Process Delivery:
Chapter 2 Introduction Application Requirements VS. Transport Services
Transport Layer Unit 5.
I. Basic Network Concepts
Process-to-Process Delivery:
CSE 381 – Advanced Game Programming Multiplayer Gaming
ECE453 – Introduction to Computer Networks
Advanced Computer Networks
Lecture 2: Overview of TCP/IP protocol
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
COMPUTER NETWORKS CS610 Lecture-35 Hammad Khalid Khan.
CPEG514 Advanced Computer Networkst
Chapter 5 Transport Layer Introduction
Process-to-process delivery UDP TCP SCTP
Internet Applications & Programming
Computer Networks Topic :User datagram protocol Transmission Control Protocol -Hemashree S( )
Chapter 5 Transport Layer Introduction
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Chapter 3 Transport Layer
Transport Layer 9/22/2019.
EEL 5718 Computer Communications
Presentation transcript:

Unity Networking

Game Networking

Game Networking Topology Star (client/server) Topology All devices are connected to a central hub (server) Nodes communicate across the network by passing data through the hub

Game Networking Topology Mesh (peer to peer) Topology every node has a connection to every other node in the network. provides faster communication burden on clients to enforce application rules minimize size of messages

Game Networking Data What is communicated across networks? player locations player states player orientation voice communications Note: send the minimum amount of data necessary minimize data type sizes (bytes are nice)

Game Networking Networked games must be: fast reliable Which should be used (client/server or peer-to-peer) for MMOs? it depends, but mostly client/server Architectures in use: pure client/server pure peer to peer hybrid client/server & peer to peer

Game Networking Latency a difficult issue in multiplayer games How do you handle communication delays? Where is the delay? lag is commonly due to overloaded networks

TCP vs. UDP What UDP (User Datagram Protocol) gives you: unreliable delivery no retransmission, packets not ACKnowleged, no reordering no congestion control speed & low overhead (good for streaming audio/video)

TCP vs. UDP Both transport layer protocols on top of IP. TCP is lossless. What TCP (Transmission Control Protocol) gives you: reliable delivery retransmission and reordering congestion control

TCP vs. UDP Some game data can be interpolated. if packet is lost, the game can continue. Some game data must be guaranteed to be received. some things can’t and shouldn’t be interpolated. Understand TCP is slower, but safer. Both are used, both have virtues, both have drawbacks. Programmers are always looking for UDP opportunities. Alternative: use a “Reliable UDP” and use for certain types of info sent.

Unity Network Info Unity Networking Other Resouces Unity Network Classes Unity Network Server SmartFox Unity Server Setup SmartFox Tutorial Google “unity 3d smartfox examples”