Page 20      All Pages  All Books
xvi          Contents
Custom Controls in Internet Explorer                                                   193
Setting Up IIS                                                                                    193
Creating a Virtual Directory                                                               193
Writing a Test Page                                                                             194
Summary/Solutions Fast Track/Frequently Asked Questions                        196
Chapter 5 Network Programming:
Using TCP and UDP Protocols                                                      203
Introduction                                                                                                  204
Introducing Networking and Sockets                                                           204
Introduction to TCP                                                                               206
Introduction to UDP                                                                              208
Introduction to Ports                                                                              211
System.Net Namespace                                                                            212
System.Net.Sockets Namespace                                                                213
Example TCP Command Transmission and Processing                                214
General Usage of Needed .NET Classes                                                216
The Server                                                                                              217
The Client                                                                                              220
Compiling and Running the Example                                                   226
Example UDP Command Transmission and Processing                               227
General Usage of Needed .NET Classes                                                228
The Server                                                                                              229
The Client                                                                                              231
Compiling and Running the Example                                                   234
Creating a News Ticker Using UDP Multicasting                                       235
General Usage of Needed .NET Classes                                                236
The Server                                                                                              240
The Client                                                                                              243
Compiling and Running the Example                                                   250
Creating a UDP Client Server Chat Application                                          250
The TCPServerSession Class                                                                    253
The TCPServer Class                                                                              256
The Chat Protocol                                                                                 260
The ChatServer Class                                                                               260
The ChatClient Class                                                                              265
Compiling and Running the Example                                                   268
Creating a TCP P2P File Sharing Application                                              269
The Remote File Stream Protocol                                                         271
The RemoteFileStreamServer Class                                                            272
The RemoteFileStreamProxy Class                                                            276
The FileSharingPeer Class                                                                        279
Compiling and Running the Example                                                   283
Access to Web Resources                                                                              283
General Usage of Needed .NET Classes                                                284
A Web Access Client                                                                               285
Compiling and Running the Example                                                   289
Request Method                                                                                    290
Redirection                                                                                            290

Page 20      All Pages  All Books