Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Mobile programming
- iPhone
- iOS and OS X Network Programming Cookbook. If you want to develop network applications for iOS and OS X, this is one of the few books written specifically for those systems. With over 50 recipes and in-depth explanations, it’s an essential guide
E-book details
Log in, If you're interested in the contents of the item.
iOS and OS X Network Programming Cookbook. If you want to develop network applications for iOS and OS X, this is one of the few books written specifically for those systems. With over 50 recipes and in-depth explanations, it’s an essential guide
Ebook
- iOS and OS X Network Programming Cookbook
- Table of Contents
- iOS and OS X Network Programming Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. BSD Socket Library
- Introduction
- Finding the byte order of your device
- Getting ready
- How to do it
- How it works
- Retrieving network address information
- Getting ready
- How to do it
- How it works
- Performing a network address resolution
- Getting ready
- How to do it
- Creating the AddrInfo header file
- Creating the AddrInfo implementation file
- Using the AddrInfo class to perform the address/hostname resolution
- How it works
- Creating an echo server
- Getting ready
- How to do it.
- Creating the BSDSocketServer header file
- Creating the BSDSocketServer implementation file
- Using the BSDSocketServer class to start the echo server
- How it works
- Creating an echo client
- Getting ready
- How to do it
- Creating the BSDSocketClient header file
- Creating the BSDSocketClient implementation file
- Using the BSDSocketClient to connect to our echo server
- How it works
- Creating a data server
- Getting ready
- How to do it
- Updating the BSDSocketServer header file
- Updating the BSDSocketServer implementation file
- Using the BSDSocketServer to create our data server
- How it works
- Creating a data client
- Getting ready
- How to do it
- Updating the BSDSocketClient header file
- Updating the BSDSocketClient implementation file
- Using the BSDSocketClient to connect to our data server
- How it works
- 2. Apple Low-level Networking
- Introduction
- Retrieving network address information
- Getting ready
- How to do it...
- How it works
- Performing a network address resolution
- Getting ready
- How to do it
- Creating the CFNetworkUtilities header file
- Creating the CFNetworkUtilities implementation file
- How it works...
- Creating an echo server
- Getting ready
- How to do it...
- Creating the CFSocketServer header file
- Creating the CFSocketServer implementation file
- How it works...
- Creating an echo client
- Getting ready
- How to do it...
- Creating the CFSocketClient header file
- Creating the CFSocketClient implementation file
- Using the CFSocketClient class
- How it works...
- Creating a server to receive data
- Getting ready
- How to do it
- Updating the CFSocketServer header file
- Updating the CFSocketServer implementation file
- Using the CFSocketServer class
- How it works...
- Creating a client to send data
- Getting ready
- How to do it...
- Updating the CFSocketClient header file
- Updating the CFSocketClient implementation file
- How it works...
- Checking the network status
- Getting ready
- How to do it...
- Creating the NetworkDetect header file
- Creating the NetworkDetect implementation file
- How it works...
- 3. Using Libnet
- Introduction
- Installing libnet
- Getting ready
- How to do it
- How it works
- Adding libnet to your project
- Getting ready
- How to do it
- How it works
- Resolving names to addresses with libnet
- Getting ready
- How to do it
- Importing the libnet header
- How it works
- Retrieving local addresses with libnet
- Getting ready
- How to do it
- Importing the libnet header
- Retrieving the local IP and hardware addresses of our device
- How it works
- Constructing a Ping packet with libnet
- Getting ready
- How to do it
- Importing the libnet header
- Defining variables
- Initiating the libnet context
- Setting the target and source IP addresses
- Creating a random number to be used as an identifier
- Building the ICMP header
- Building the IPv4 header
- Injecting the ICMP packet
- How it works
- Constructing a UDP packet with libnet
- Getting ready
- How to do it
- Importing the libnet header
- Initiating the libnet context
- Setting the target and source IP addresses
- Creating a random number to be used as an identifier
- Building the UDP header
- Building the IPv4 header
- Injecting the packet
- How it works
- Constructing a TCP packet with libnet
- Getting ready
- How to do it
- Importing the libnet header
- Defining variables
- Initiating the libnet context
- Setting the target and source IP addresses
- Creating a random number to be used as an identifier
- Building the TCP header
- Building the IPv4 header
- Injecting the packet
- How it works
- 4. Using Libpcap
- Introduction
- Adding libpcap to your project
- Getting ready
- How to do it
- How it works
- Retrieving network device information
- Getting ready
- How to do it
- How it works
- Capturing packets
- Getting ready
- How to do it
- How it works
- Decoding Ethernet headers
- Getting ready
- How to do it
- How it works
- Decoding IP headers
- Getting ready
- How to do it
- How it works
- Decoding ARP headers
- Getting ready
- How to do it
- How it works
- Decoding TCP headers
- Getting ready
- How to do it
- How it works
- Decoding UDP headers
- Getting ready
- How to do it
- How it works
- Decoding ICMP headers
- Getting ready
- How to do it
- How it works
- Filtering packets
- Getting ready
- How to do it
- How it works
- Saving a capture file
- Getting ready
- How to do it
- How it works
- Creating a simple port scanner using libnet and libpcap together
- Getting ready
- How to do it
- How it works
- 5. Apple High-level Networking
- Introduction
- Performing HTTP(S) synchronous GET requests
- Getting ready
- How to do it
- Creating the WebServiceConnectSynchronous header file
- Creating the sendGetRequest:toURL: method
- How it works
- Performing HTTP(S) synchronous POST requests
- Getting ready
- How to do it
- Updating the WebServiceConnectSynchronous header file
- Creating the sendPostRequest:toUrl: method
- How it works
- Performing HTTP(S) asynchronous GET requests
- Getting ready
- How to do it
- Creating the WebServiceConnectAsynchronous header file
- Creating the sendGetRequest:toURL: method
- Creating the connection:didReceiveResponse: callback method
- Creating the connection:didReceiveData: callback method
- Creating the connection:didFailWithError: callback method
- Creating the connectionDidFinishLoading: callback method
- Creating the connection:willSendRedirect:redirectResponse: callback method
- Creating the connection:willCacheResponse: callback method
- How it works
- Performing HTTP(S) asynchronous POST requests
- Getting ready
- How to do it
- Updating the WebServiceConnectAsynchronous header file
- Creating the sendPostRequest:toURL: method
- How it works
- Parsing an RSS feed with NSXMLParser, NSURL, and NSData
- Getting ready
- How to do it
- Creating the RSSItem header file
- Creating the RSSItem implementation file
- Creating the ParseRSS header file
- Creating the initWithUrl: constructor
- Creating the parseXMLFileAtUrl: method
- Creating the parserDidStartDocument: NSXMLParserDelegate method
- Creating the parser:parserErrorOccurred: NSXMLParserDelegate method
- Creating the parser:didStartElement:namespaceURI:qualifiedName:attributes: NSXMLParserDelegate method
- Creating the parser:didEndElement:namespaceURI:qualifiedName: NSXMLParserDelegate method
- Creating the parser:foundCharacters: NSXMLParserDelegate method
- Creating the parserDidEndDocument: NSXMLParserDelegate method
- How it works
- Creating a peer-to-peer bluetooth network
- Getting ready
- How to do it
- Displaying the GKPeerPickerController
- Creating the two delegate methods for GKPeerPickerControllerDelegate
- Disconnecting from the peer network
- Sending data to the peer
- Receiving data from the peer
- How it works
- 6. Bonjour
- Introduction
- Publishing a Bonjour service
- Getting ready
- How to do it...
- How it works...
- Discovering a Bonjour service
- Getting ready
- How to do it...
- How it works...
- Resolving a Bonjour service
- Getting ready
- How to do it...
- How it works...
- Creating an echo server that uses Bonjour to advertise the service
- Getting ready
- How to do it...
- How it works...
- Creating an echo client that uses Bonjour to discover the service
- Getting ready
- How to do it...
- How it works...
- 7. AFNetworking 2.0 Library
- Introduction
- Checking the network connection type and changes
- Getting ready
- How to do it
- How it works
- Creating a web client using AFHTTPSessionManager
- Getting ready
- How to do it
- Creating the ITunesClient header file
- Creating the sharedClient method
- Creating the searchType:withTerm:completion: method
- Using the ITunesClient class
- How it works
- Creating a custom response serializer
- Getting ready
- How to do it
- Creating the AlbumInformation header file
- Creating the AlbumInformation implementation file
- Creating the ITunesResponseSerializer header file
- Creating the ITunesResponseSerializer implementation file
- Adding ITunesResponseSerializer to our ITunesClient
- Using the new ITunesClient class
- How it works
- Using the UIImageView+AFNetworking category
- Getting ready
- How to do it
- Updating the ViewController header file
- Updating the viewDidLoad method of the ViewController
- Creating the UITableView delegate methods
- How it works
- Downloading files with a progress bar
- Getting ready
- How to do it
- Creating the download task
- Adding the progressView
- How it works
- 8. MKNetworkKit
- Introduction
- Creating and using the MKNetworkKit engine
- Getting ready
- How to do it
- Creating the ITunesEngine header file
- Creating the ITunesEngine implementation file
- Using the ITunesEngine class
- How it works
- Uploading a file using MKNetworkKit
- Getting ready
- How to do it
- Creating the FileUploadEngine header file
- Creating the FileUploadEngine implementation file
- Using the FileUploadEngine class
- How it works
- Downloading a file using MKNetworkKit
- Getting ready
- How to do it
- Creating the ImageDownloadEngine header file
- Creating the ImageDownloadEngine implementation file
- How it works
- Using the UIImageView+MKNetworkKitAdditions.h category and caching the images
- Getting ready
- How to do it
- Creating the ITunesEngine header file
- Creating the ITunesEngine implementation file
- Adjusting the cache settings
- Using the new ITunesEngine class
- How it works
- Adding a progress bar to upload or download
- Getting ready
- How to do it
- Creating the FileDownloadEngine header file
- Creating the FileDownloadEngine implementation file
- How it works
- Index
- Title: iOS and OS X Network Programming Cookbook. If you want to develop network applications for iOS and OS X, this is one of the few books written specifically for those systems. With over 50 recipes and in-depth explanations, it’s an essential guide
- Author: Jon Hoffman
- Original title: iOS and OS X Network Programming Cookbook. If you want to develop network applications for iOS and OS X, this is one of the few books written specifically for those systems. With over 50 recipes and in-depth explanations, it’s an essential guide.
- ISBN: 9781849698092, 9781849698092
- Date of issue: 2014-01-22
- Format: Ebook
- Item ID: e_3cgm
- Publisher: Packt Publishing