IOS Networking CS328. Big Picture Core Foundation Networking CF Networking APIs are abstractions on top of the BSD sockets to make it easier to program.

Slides:



Advertisements
Similar presentations
Introduction to Networks
Advertisements

Nassau Community College
Lecture 2: Servers and Services Network Design & Administration.
Review of Important Networking Concepts
SUPE z2z: Discovering Zeroconf Services Beyond Local Link Jae Woo Lee, Henning Schulzrinne Columbia University Wolfgang Kellerer, Zoran Despotovic.
Jaringan Komputer Dasar
Java Socket Support Presentation by: Lijun Yuan Course Number: cs616.
CS3771 Today: network programming with sockets  Previous class: network structures, protocols  Next: network programming Sockets (low-level API) TODAY!
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Networks 1 CS502 Spring 2006 Network Input & Output CS-502 Operating Systems Spring 2006.
Accelerating Service Discovery in Ad Hoc Zero Configuration Networking
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Network Basics.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
Cisco Discovery Working at a Small-to-Medium Business or ISP CHAPTER 7 ISP Services Jr.
Making connections Connecting a computer to a LAN donna Bair-Mundy.
DNSNA: DNS Name Autoconfiguration for IoT Home Devices SeJun Lee, Jaehoon (Paul) Jeong, and Jung-Soo Park Sungkyunkwan University & ETRI.
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Chapter 10 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain how the functions of the application layer,
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
Zero Configuration Networking Sander Temme. Agenda What is Zero Configuration Networking Demonstration Description of Protocols Available Implementations.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Enabling Embedded Systems to access Internet Resources.
Introduction to Interprocess communication SE-2811 Dr. Mark L. Hornick 1.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Application Layer Functionality and Protocols Network Fundamentals.
AIRPLAY SURVEY TANG JIAN-HENG, COMPAL. BonjourJmDNSBonjour Service Avahi Network Protocol Platform iPhone / iPadWindowsMac OSXLinuxAndroid Platform and.
15 Semester 1 JEOPARDY IndirectnetworksupportDNSDNSNetworkApps.NetworkApps.MoreNetworkApps.Misc.Misc
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 Version 3.0 Module 11 TCP Application and Transport.
Doc.: IEEE /0961r0 Submission July 2012 Alex Ashley, NDS LtdSlide 1 Layer 2 Service Discovery Protocols Date: Authors:
TCP/IP fundamentals Unit objectives Discuss the evolution of TCP/IP Discuss TCP/IP fundamentals.
Internet Applications and Network Programming Dr. Abraham Professor UTPA.
Apache and Zeroconf Networking Sander Temme. Agenda u What is Zeroconf? u Technology Overview u Existing Initiatives u Zeroconf-enabling Apache httpd.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
1 Chapter 7: NAT in Internet and Intranet Designs Designs That Include NAT Essential NAT Design Concepts Data Protection in NAT Designs NAT Design Optimization.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Remote Shell CS230 Project #4 Assigned : Due date :
Interoperable marine monitoring systems Toma Daniel Mihai Technical University of Catalonia Mentor: Tom O’Reilly MBARI 2010.
DHCP Meha Modi. “Dynamic Host Configuration Protocol” Automatically assigns IP addresses to devices (I.e. hosts) on your network. -Prevents to enter data.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Presented by Rebecca Meinhold But How Does the Internet Work?
TCP/IP (Transmission Control Protocol / Internet Protocol)
CCNA4 v3 Module 6 v3 CCNA 4 Module 6 JEOPARDY K. Martin.
Accessing Evitech network via FTP by Susan Jansson.
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
7DS - Node Cooperation and Information Exchange in Mostly Disconnected Networks Suman Srinivasan, Arezu Moghadam, Se Gi Hong, Henning Schulzrinne IRT Lab,
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Cisco Discovery Semester 1 Chapter 6 JEOPADY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Computer Communication: An example What happens when I click on
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
How to use the Internet Ikjun Yeom. How to send a packet  buy a computer  make sure that the computer is equipped with a network interface card  find.
TCP/IP Protocol Suite ©Richard L. Goldman September 25, 2002.
1 K. Salah Application Layer Module K. Salah Network layer duties.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Sockets and Beginning Network Programming
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
27.
Computer Networks Protocols
Presentation transcript:

iOS Networking CS328

Big Picture

Core Foundation Networking CF Networking APIs are abstractions on top of the BSD sockets to make it easier to program network protocols. – working with BSD sockets – Creating and using SSL and TLS – Resolving DNS host requests – Working with HTTP – Working with FTP – Publishing, resolving and browsing Bonjour services

CF Network Concepts Low level, high performance framework to give detailed control over the protocol stack An extension of BSD sockets

CFSocket and CFStream CFSocket and CFStream are fundamental to CFNetwork First we’ll look at both before looking at CFNetwork

CFSocket Most basic level of network communication Uses BSD Socket but the abstraction allows the CFSocket to be integrated with a program run-loop. Can also be used for UDP sockets.

CFSocket CFSocketCreate – makes a CFSocket from scratch CFSocketCreateWithNative – Create a CFSocket out of a BSD socket CFSocketCreateRunLoopSource – Create a CFSocket to use in a program run loop. CFSocket Reference

CFStream Provides the abstraction to read and write information from one socket on the local machine and another on a remote machine (could also be on the local machine). Streams can be attached to memory, files or sockets/network CFReadStream CFWriteStream

The Framework

Using Use in the same way as a UNIX stream Create the stream (instantiate it) Open it Read or write it. Close/Dispose of CFStream Reference

Other CFNetwork APIs CFFTP – create read/write streams for uploading and downloading files from FTP servers. This implements the FTP protocol CFHTTP - create read/write streams for sending HTTP Requests and receiving HTTP Response packets. This implements the HTTP protocol

CFHTTPAuthentication – provides for interfacing with an HTTP server set up for challenge/response authentication. CFHost – Lets you query host information from DNS. CFNetServices – Interface to Bonjour.

Bonjour Bonjour is Apple Inc.'s trade name for its implementation of Zeroconf, a group of technologies that includes service discovery, address assignment, and name resolution. Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records.Apple Inc.trade nameZeroconfservice discoverylocal network multicastDomain Name SystemmDNS

Zeroconf Zero configuration networking (zeroconf), is a set of techniques that automatically creates a usable Internet Protocol (IP) network without manual operator intervention or special configuration servers.Internet Protocol