Cover image for Mobile peer to peer : a tutorial guide
Title:
Mobile peer to peer : a tutorial guide
Publication Information:
Hoboken, NJ : John Wiley & Sons, 2009
Physical Description:
xviii, 255 p. : ill. ; 25 cm.
ISBN:
9780470699928

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010197227 TK5105.525 M62 2009 Open Access Book Book
Searching...

On Order

Summary

Summary

Explore the potential of mobile P2P networks

Mobile Peer to Peer (P2P): A Tutorial Guide discusses the potential of wireless communication among mobile devices forming mobile peer to peer networks. This book provides the basic programming skills required to set up wireless communication links between mobile devices, offering a guide to the development process of mobile peer to peer networks.

Divided into three sections, Part I briefly introduces the basics of wireless technologies, mobile architectures, and communication protocols. Detailed descriptions of Bluetooth, IEEE802.11, and cellular communication link are given and applied to potential communication architectures. Part II focuses on programming for individual wireless technologies, and gives an understanding of the programming environment for individual wireless technologies. In addition, Part III provides advanced examples for mobile peer to peer networks.

Introduces the basics of short-range/wireless technologies (such as Bluetooth and IEEE 802.11 Wireless LAN), mobile architectures, and communication protocols Explains the basic programming environment and the basic wireless communication technologies such as Bluetooth, WiFi (IEEE802.11), and cellular communication examples Discusses the advancements in meshed networks, mobile social networks and cooperative networks Provides detailed examples of mobile peer to peer communication including, social mobile networking, cooperative wireless networking, network coding, and mobile gaming Includes an accompanying website containing programming examples as source code

Mobile Peer to Peer (P2P): A Tutorial Guide is an invaluable reference for advanced students on wireless/mobile communications courses, and researchers in various areas of mobile communications (mashups, social mobile networks, network coding, etc.) Undergraduate students and practitioners wishing to learn how to build mobile peer to peer networks will also find this book of interest.


Author Notes

Mobile Peer to Peer [P2P]: A Tutorial Guide is an invaluable reference for advanced students on wireless/mobile communication courses, and researchers in various areas of mobile communication [mashups, social mobile networks, network coding, etc.]. Undergraduate students and practitioners wishing to learn how to build mobile peer to peer networks will also find this book of interest.


Table of Contents

Frank H. P. Fitzek and Hassan CharafLara Srivastava and Frank H. P. FitzekMorten V. Pedersen and Frank H.P. FitzekKároly Farkas and Gergely CsúcsPéter Ekler and Bertalan Forstner and Gábor ZavarkóImre Kelényi and Bertalan ForstnerJanus Heide and Leonardo MilitanoBertaland Forstner and Imre KelényiPéter Ekler and Gábor Zavarkó
Forewordp. xi
Prefacep. xiii
About the bookp. xiii
Acknowledgementsp. xv
List of Contributorsp. xvii
Part 1 Introduction and Motivation
1 Mobile Peer-to-Peer Networks: An Introduction to the Tutorial Guidep. 3
1.1 Introduction and Motivationp. 3
1.2 Wireless Technologiesp. 6
1.2.1 Short-range Technologiesp. 7
1.2.2 Future Wireless Trendsp. 11
1.3 Mobile Architecturesp. 12
1.3.1 Cellular Networksp. 12
1.3.2 Short-range Point-to-Point Networksp. 12
1.3.3 Meshed Networksp. 13
1.3.4 Cooperative Networksp. 14
1.4 Mobile Scenarios and Business Casesp. 15
1.4.1 Social Mobile Networksp. 15
1.4.2 Cooperative Wireless Networksp. 16
Referencesp. 17
2 The Evolution of Social Interactions in Networked Spacep. 19
2.1 Connectivity Takes on a New Dimensionp. 19
2.2 The Principle of Sharingp. 22
2.3 Transspatial and Transtemporal Perspectivep. 24
2.4 Socialization in the Mobile Digital Agep. 25
2.5 Future Perspectivesp. 27
Referencesp. 28
Part 2 Basic Functionalities for Mobile P2P
3 The Symbian C++ Programming Environment Morten V. Pedersen and Frank H.P. Fitzekp. 31
3.1 Introductionp. 31
3.2 Tools Overviewp. 31
3.3 Installing the IDEp. 33
3.4 Installing the SDK and Prerequisitesp. 33
3.5 Using the Carbide IDEp. 34
3.6 Installing Applications on the Devicep. 38
3.7 Quick Resource Overviewp. 39
Referencesp. 40
4 Introduction to Bluetooth Communication on Mobile Devicesp. 41
4.1 Introductionp. 41
4.2 Turning Bluetooth On/Offp. 42
4.3 Discovering Bluetooth Devicesp. 43
4.3.1 Using the Bluetooth UIp. 43
4.3.2 Performing Background Device Searchp. 45
4.4 The Service Discovery Protocolp. 47
4.4.1 Advertising a Servicep. 49
4.4.2 The Structure of a Service Recordp. 49
4.4.3 Searching for Servicesp. 53
4.5 Connecting and Transferring Datap. 54
4.5.1 Building a Serverp. 55
4.5.2 Building a Clientp. 56
4.5.3 Transferring Datap. 56
4.6 Summaryp. 57
Referencesp. 58
5 Introduction to WLAN IEEE802.11 Communication on Mobile Devicesp. 59
5.1 IEEE802.11 Architecture Componentsp. 59
5.2 IEEE802.11 Layersp. 59
5.2.1 The Physical Layerp. 60
5.2.2 The MAC Layerp. 60
5.3 Joining the WLANp. 61
5.4 Handoverp. 61
5.5 Synchronizationp. 62
5.6 Securityp. 62
5.7 Multihop Networksp. 62
5.7.1 Mobile Ad Hoc Networksp. 62
5.7.2 Infrastructure Mesh Networksp. 64
5.8 Building Blocks for S60 Ad Hoc WLAN Networkingp. 65
5.8.1 Enumerating Nearby WLAN Networksp. 65
5.8.2 Enumerating WLAN Access Points Configured in the Devicep. 69
5.8.3 Connecting to the Networkp. 71
5.8.4 Manual IAP Selectionp. 71
5.8.5 Selecting the IAP Programmaticallyp. 72
5.8.6 Communicationp. 73
5.8.7 Advanced Tasksp. 76
5.9 Ad Hoc Monitor Examplep. 79
Referencesp. 80
6 Developing Network-capable Applicationsp. 81
6.1 Introductionp. 81
6.2 Retrieving Phone Networks Data on Symbian OSp. 82
6.3 Mobile Clients in the Context of the Client-Server Architecturep. 89
6.3.1 Main Features of the Example Webshop Clientp. 90
6.3.2 Connecting a Mobile Client to a Webshopp. 91
6.3.3 Implementing a Webshop to Serve Mobile Clientsp. 97
6.4 Summaryp. 98
Referencesp. 99
Part 3 Mobile P2P Examples
7 Sym Torrent and Grid Torrent: Developing Bit Torrent Clients on the Symbian Platformp. 103
7.1 Introductionp. 103
7.2 Sym Torrentp. 107
7.3 Grid Torrentp. 108
7.4 Developing a Bit Torrent Clientp. 110
7.4.1 Creating the Network Managerp. 111
7.4.2 Network Connectionsp. 114
7.4.3 Listening for Incoming Connectionsp. 119
7.4.4 Sending Data Via Socketsp. 123
7.4.5 Receiving Data from Socketsp. 125
7.4.6 The Socket Base Classp. 128
7.4.7 The Peer Connectionp. 130
7.4.8 The Tracker Connectionp. 133
7.4.9 The Torrentp. 138
7.4.10 The Torrent Managerp. 140
7.4.11 Differences in GridTorrentp. 141
7.5 Conclusionp. 141
Referencesp. 142
8 Introduction to Network Coding for Mobile Peer to Peer (P2P)p. 143
8.1 Introduction to Network Codingp. 143
8.2 The Butterfly Examplep. 144
8.3 Network Coding by XORingp. 145
8.4 Network Coding in a Cooperative Contextp. 147
8.4.1 No Cooperationp. 147
8.4.2 Cooperationp. 148
8.4.3 Cooperation with Network Codingp. 148
8.5 Proof of Concept Implementationp. 148
8.6 The XORChat Implementationp. 149
8.7 Outlookp. 157
Referencesp. 159
9 Mobile Social Networking - Beyond the Hypep. 161
9.1 Introductionp. 161
9.2 Gnutella and GGEPp. 163
9.3 Finding Peersp. 164
9.3.1 Host Cachep. 165
9.3.2 Web Cachesp. 165
9.4 Connecting to Random Peersp. 172
9.5 Protocol Messagesp. 178
9.6 Putting Intelligence into the Peer Selectionp. 185
9.6.1 The Simplest Way: Fetching the Musical Genrep. 185
9.6.2 Now I Know Who to Connect to!p. 185
9.7 Conclusionp. 190
Referencesp. 190
10 Using Location-based Services on Mobile Phonesp. 191
10.1 Introductionp. 191
10.2 Backgroundp. 192
10.2.1 GPS-based Positioningp. 192
10.2.2 Location-based Servicesp. 193
10.3 Implementing Location-based Services on Mobile Phonesp. 194
10.3.1 Location API of Symbian OSp. 194
10.3.2 Location API of Java MEp. 199
10.4 FindFriends Example Applicationp. 203
10.4.1 Use Casesp. 203
10.4.2 The Design of FindFriendsp. 206
10.4.3 Network Communicationp. 212
10.5 Summaryp. 221
Referencesp. 221
11 Developing Java Games on Symbian OS-based Mobile Devices Péter Eklerp. 223
11.1 Introductionp. 223
11.2 The Java Virtual Machine Implementation of Symbian OSp. 225
11.2.1 Programming Java on Symbian OSp. 226
11.2.2 Processing Power of MIDletsp. 229
11.2.3 Network Handlingp. 230
11.3 Writing Games for Mobile Phonesp. 231
11.3.1 General Concepts of Game Developmentp. 232
11.3.2 Game Canvasp. 233
11.3.3 Ad Hoc WLAN-based Multiplayer Games on Java MEp. 236
11.4 MobSensorp. 242
11.4.1 MobSensor Functionsp. 242
11.4.2 MobSensor Architecturep. 243
11.4.3 Playing mp3 Alerts in MobSensorp. 247
11.4.4 The User Interface of MobSensorp. 249
11.5 Summaryp. 249
Referencesp. 250
Indexp. 253