04758nam 2200637 450 991045357440332120210423231428.01-84969-809-0(CKB)2550000001191599(EBL)1441781(SSID)ssj0001161130(PQKBManifestationID)11624890(PQKBTitleCode)TC0001161130(PQKBWorkID)11128058(PQKB)10558373(MiAaPQ)EBC1441781(CaSebORM)9781849698085(PPN)22802658X(Au-PeEL)EBL1441781(CaPaEBR)ebr10831276(CaONFJC)MIL571007(OCoLC)874153609(EXLCZ)99255000000119159920140210h20142014 uy 0engurunu---|||||txtccriOS and OS X network programming cookbook over 50 recipes to develop network applications in both the iOS and OS X environment /Jon Hoffman1st editionBirmingham, England :Packt Publishing,2014.©20141 online resource (300 p.)Quick answers to common problemsIncludes index.1-84969-808-2 1-306-39756-1 Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: BSD Socket Library; Introduction; Finding the byte order of your device; Retrieving network address information; Performing network address resolution; Creating an echo server; Creating an echo client; Creating a data server; Creating a data client; Chapter 2: Apple Low-level Networking; Introduction; Retrieving network address information; Performing network address resolution; Creating an echo server; Creating an echo client; Creating a server to receive dataCreating a client to send data Checking the network status; Chapter 3: Using Libnet; Introduction; Installing libnet; Adding libnet to your project; Resolving names to addresses with libnet; Retrieving local addresses with libnet; Constructing a Ping packet with libnet; Constructing a UDP packet with libnet; Constructing a TCP packet with libnet; Chapter 4: Using Libpcap; Introduction; Adding libpcap to your project; Retrieving network device information; Capturing packets; Decoding Ethernet headers; Decoding IP headers; Decoding ARP headers; Decoding TCP headers; Decoding UDP headersDecoding ICMP headers Filtering packets; Saving a capture file; Creating a simple port scanner using libnet and libpcap together; Chapter 5: Apple High-level Networking; Introduction; Performing HTTP(S) synchronous GET requests; Performing HTTP(S) synchronous POST requests; Performing HTTP(S) asynchronous GET request; Performing HTTP/HTTPS asynchronous POST request; Parsing an RSS feed with NSXMLParser, NSURL, and NSData; Creating a peer-to-peer bluetooth network; Chapter 6: Bonjour; Introduction; Publishing a Bonjour service; Discovering a Bonjour service; Resolving a Bonjour serviceCreating an echo server that uses Bonjour to advertise the serviceCreating an echo client that uses Bonjour to discover the service; Chapter 7: AF Networking 2.0 Library; Introduction; Checking the network connection type and changes; Creating a web client using AFHTTP Session Manager; Creating a custom response serializer; Using the UIImage View+AF Networking category; Downloading files with a progress bar; Chapter 8: MKNetworkKit; Introduction; Creating and using the MKNetworkKit engine; Uploading a file using MKNetworkKit; Downloading a file using MKNetworkKitUsing the UIImageView+MKNetworkKit Additions.h category and caching the images Adding a progress bar to upload or download; IndexThis book follows a recipe-based approach that will heavily focus on the code and how to integrate the samples with the reader's projects.Each recipe consists of one or more methods that you can put directly into your app and use.This book is ideal for developers that want to create network applications for the Apple OS X or iOS platforms. All examples are written in Objective-C using XCode as the IDE. Knowledge of Objective-C and X-Code is essential.Operating systems (Computers)ProgrammingElectronic books.Operating systems (Computers)Programming.005.446Hoffman Jon(Software engineer).893588MiAaPQMiAaPQMiAaPQBOOK9910453574403321IOS and OS X network programming cookbook1996128UNINA