Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Topics Covered
Session Agenda
What’s the need?
Basic Client Server Communication
Networking Terminology
Types of Network Communication -Example
Types of Network Communications
Networking Concepts
IP –Internet Protocol
asio 101 –What is asio?
asio 101 -Platforms
asio 101 –lib dependencies
asio 101 -header Only?
Fetch a web page
Example: fetch a web page
Functions needed in Networked Apps
Fetch Web Page 1: Setup
Fetch Web Page 1:Setup -Main
Fetch Web Page 2: Get Address
Fetch Web Page 3: Connect Socket
Fetch Web Page 4: Write Fetch Request
Fetch web Page 6: Receive Data
asio in depth -namespace structure
asio in depth –sync read
Asio : ipaddress
Key ip_addressfunctions
Other functions: Get our Hostname
asio concepts: Endpoint
Key endpoint functions
asio concepts: Resolver
Key resolverfunctions
asio concepts: basic_socket
Socket –Getting -Setting Options
Key Socket Functions -Info
asio concepts: io_service
Event De-multiplexing
Key io_servicefunctions
asio concepts: timing – deadline_timer
Deadline timer sync
Deadline Timer -async
Building Chat Server
Acceptor pattern
Chat Example –Network View
Chat Classes Overview
Chat Classes Detail
Session Setup Sequence
Session Setup Code
Chat -Current State
Chat Session Start
Chat –Handling Inbound Message –header
Chat –Handling Inbound Message -Body
Chat –Sending Outbound
Chat Server –Main Program
Notes on Chat Concurrency
Other ways to implement Chat
Task: Send arbitrary Graph of Objects Between Processes
Serialization Design
Messaging Architecture with Serialization
serialization 101 –What is Boost.Serialization?
serialization 101 –history
serialization 101 –design goals
serialization 101 –platforms
serialization 101 –Built Library
serialization 101 –save a value
serialization 101 –serialization for custom types -xml
Boost Serialization for Networked Programs
Inbound Message Handling Design
Pitfalls of Network Programming
Pitfall 1: Latency in-depth
Latency Measurements –LAN
Latency Measurements – Internet –‘close’
Latency Measurements – Internet –Arizona to Austrialia
Latency Measurements – Internet –Arizona to UK
Pitfall 2: Reliability in depth
Designing for Failure
Example: OMG DCPS QoS Specification
Design for Failure –Startup Problem
Startup Problem –An Example
Tools: TracerouteExample
Tools: netstat(unix)
Tools: ethereal (windows)
Tools: ping
Latency –Some Resources
Network Programming Resources
Schmidt C++ Books
Schmidt Patterns
0 of .
Results for:
No results containing your search query
P. 1
Network Programming With Boost

Network Programming With Boost

Ratings: (0)|Views: 1,141|Likes:
Published by vietwow

More info:

Published by: vietwow on Oct 31, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 13 are not shown in this preview.
You're Reading a Free Preview
Pages 17 to 29 are not shown in this preview.
You're Reading a Free Preview
Pages 33 to 114 are not shown in this preview.
You're Reading a Free Preview
Pages 118 to 122 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
rukudias liked this
ghanareddy liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->