图书介绍
RPC和Windows网络 英文本PDF|Epub|txt|kindle电子书版本网盘下载
![RPC和Windows网络 英文本](https://www.shukui.net/cover/43/31160136.jpg)
- (美)Microsoft公司著 著
- 出版社: 北京:北京大学出版社
- ISBN:7301020406
- 出版时间:2000
- 标注页数:690页
- 文件大小:12MB
- 文件页数:704页
- 主题词:
PDF下载
下载说明
RPC和Windows网络 英文本PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
Part 11
Chapter1:Getting Around in the Networking Services Library1
How the Networking Services Library Is Structured2
How the Networking Services Library Is Designed3
Chapter2: What s In This Volume?5
Microsoft RPC Model5
Installing The RPC Programming Environment6
Building RPC Applications6
Connecting the Client and the Server6
Tutorial6
IDL and ACF Files6
Data and Language Features6
Arrays and Pointers6
Pipes6
Binding and Handles6
Memory Management6
Serialization Services6
Security7
Installing and Configuring RPC Applications7
Asynchronous RPC7
RPC Message Queuing7
Remote Procedure Calls Using HTTP7
Samples7
RPC Reference7
Chapter3: Using Microsoft Reference Resources9
The Microsoft Developer Network10
Comparing MSDN with MSDN Online11
MSDN Subscriptions13
MSDN Library Subscription13
MSDN Professional Subscription14
MSDN Universal Subscription14
Purchasing an MSDN Subscription14
Using MSDN15
Navigating MSDN16
Quick Tips18
Using MSDN Online20
Navigating MSDN Online22
MSDN Online Features23
MSDN Online Registered Users29
The Windows Programming Reference Series30
Chapter 4:Finding the Developer Resources You Need31
Developer Support31
Online Resources33
Internet Standards34
Learning Products35
Conferences37
Other Resources37
Chapter5: Avoiding Common RPC Programming Errors39
Solution Summary39
Common RPC Programming Errors40
Pointer_default(unique)and embedded pointers40
A valid switch_is value in an RPC-capable structure doesn t ensure a non-NULL pointer41
A NULL DACL affords no protection41
Call RpclmpersonateClient()before any security-relevant operation42
Starting and stopping impersonation43
Strings are only zero-terminated when declared with string in the .idl44
Don t copy arbitrary length data into independently sized buffers45
size-is may result in a zero-length structure45
Calculations in a size-is or length_is specification are susceptible to overflow46
Strict context handles46
Part 247
Chapter 6:Microsoft RPC Model47
The Programming Model47
The Client-Server Model49
The Compute-Server Model51
How RPC Works51
OSF Standards for RPC53
Microsoft RPC Components54
RPC Extends Client-Server Computing55
Chapter 7:Installing the RPC Programming Environment57
Developing 32-Bit Windows Applications57
Developing Macintosh Client Applications59
Chapter 8:Building RPC Applications61
General Build Procedure61
Developing the Interface62
Generating Interface UUIDs63
Using MIDL64
Developing the Server66
Developing the Client67
Environment,Compiler,and API Set Choices68
Exception Handling69
Chapter 9:Connecting the Client and the Server71
Essential RPC Binding Terminology71
How the Server Prepares for a Connection72
Registering the Interface73
Creating Binding Information73
Advertising the Server Program74
Registering Endpoints75
Listening for Client Calls75
How the Client Establishes a Connection76
Making a Remote Procedure Call78
Finding the Server Host Computer78
Finding the Server Program79
Creating a Binding79
Chapter 10:An RPC Tutorial81
The Stand-Alone Application81
Defining the Interface82
Generating the UUID82
The IDL File83
The ACF File83
Generating the Stub Files84
The Client Application86
The Server Application88
Stopping the Server Application90
Compiling and Linking91
Running the Application92
Chapter11: The IDL and ACF Files93
The Interface Definition Language(IDL)File93
The IDL Interface Header94
The IDL Interface Body95
The Application Configuration File(ACF)96
The ACF Header96
The ACF Body96
MIDL Compiler Output97
Chapter12: Data and Language Features99
Strong Typing99
Base Types100
Signed and Unsigned Types101
Wide-Character Types101
Structures101
Unions101
Enumerated Types103
Arrays103
Function Attributes103
Field Attributes103
Three Pointer Types104
Type Attributes105
Directional (Parameter)Attributes106
Data Representation108
The transmit-as and represent-as Attributes109
The transmit-as Attribute109
The type-to-xmit Function111
The type-from-xmit Function112
The type-free-xmit Function114
The type-free-inst Function114
The represent-as Attribute115
The named-type-from-local Function118
The named-type-to-local Function118
The named-type-free-local Function118
The named-type-free-inst Function118
The wire-marshal and user-marshal Attributes119
The wire-marshal Attribute119
The user-marshal Attribute120
The type-UserSize Function121
The type-UserMarshal Function122
The type-UserUnmarshal Function123
The type-UserFree Function124
Marshaling Rules for user-marshal and wire-marshal124
Chapter13:Arays and Pointers127
Arrays and RPC127
Kinds of Arrays127
Fixed Arrays127
Varying Arrays128
Conformant Arrays129
Array Attributes130
MIDL Array Attributes Used in RPC132
The [size-is] Attribute132
The [length-is] Attribute133
The [first-is] and [last-is] Attributes133
The [max-is] Attribute134
Combining Array Attributes134
The [string] Attribute in Arrays135
Multidimensional Arrays135
Pointers and RPC137
Kinds of Pointers137
Reference Pointers137
Unique Pointers139
Full Pointers140
Pointers and Memory Allocation141
Default Pointer Types142
Pointer Attribute Type Inheritance143
Using Arrays, Strings, and Pointers144
Counted Character Arrays145
[in, out, size-is]Prototype145
[in, size-is and out, size-is] Prototype146
Strings147
[in ,out, string]Prototype148
[in, string] and [out, string] Prototype149
Multiple Levels of Pointers149
Chapter14: Pipes151
Essential Pipe Terminology151
The Pipe State152
Defining Pipes in IDL Files152
Client-Side Pipe Implementation153
Implementing Input Pipes on the Client154
Implementing Output Pipes on the Client157
Server-Side Pipe Implementation159
Implementing Input Pipes on the Server159
Implementing Output Pipes on the Server160
Rules for Multiple Pipes161
Combining Pipe and Nonpipe Parameters162
Chapter15: Binding and Handles163
Binding Handles163
Types of Binding Handles163
Automatic Binding Handles164
Implicit Binding Handles165
Explicit Binding Handles167
Primitive and Custom Binding Handles167
Client-Side Binding170
Selecting a Protocol Sequence171
Finding Server Host Systems172
Finding Endpoints176
Server-Side Binding177
Registering Interfaces177
Specifying Protocol Sequences186
Specifying Endpoints187
Advertising Server Interfaces189
Listening for Remote Procedure Calls190
Fully and Partially Bound Handles191
Interpreting Binding Information191
Microsoft RPC Binding-Handle Extensions193
Binding-Handle Functions194
The RPC Name-Service Database195
Name-Service Application Guidelines196
An Overview of the Name Service Entry197
Criteria for Name Service Entries197
Name Service Entry Cleanup198
What Happens During a Query198
Using Microsoft Locator199
Using the Cell Directory Service(CDS)200
Name Syntax201
Context Handles201
Interface Development Using Context Handles202
Server Development Using Context Handles203
Client Development Using Context Handles205
Server Context Rundown Routine207
Client Context Reset208
Multi-Threaded Clients and Context Handles208
Chapter16: Memory Management209
Introduction to RPC Memory Management209
How Memory Is Allocated and Deallocated210
The midl_user_allocate Function210
The midl_user_free Function211
RpcSs Memory Management Package212
Memory-Management Models213
Node-by Node Allocation and Deallocation213
Stub-Allocated Buffers214
Application-Allocated Buffer214
Persistent Storage on the Server215
Who Manages Memory?216
Top-Level and Embedded Pointers216
Directional Attributes Applied to the Parameter216
Length, Size, and Directional Attributes217
Pointer Attributes Applied to the Parameter219
Combining Pointer and Directional Attributes219
Embedded Out-Only Reference Pointers219
Out-Only Unique or Full Pointer Parameters Not Accepted220
Function Return Values220
Memory Orphaning221
Summary of Memory Allocation Rules221
Chapter17: Serialization Services223
Using Serialization Services224
Procedure Serialization225
Type Serialization225
Serialization Handles226
Implicit Versus Explicit Handles227
Serialization Styles227
Fixed Buffer Serialization228
Dynamic Buffer Serialization230
Incremental Serialization230
Obtaining an Encoding Identity233
Chapter18: Security235
RPC Security Essentials235
Principal Names235
AuthenticationLevels236
Authentication Services237
Client Authentication Credentials237
Authorization Services237
Quality of Service237
Authorization Functions238
Key Acquisition Functions239
Client Impersonation239
Security Methods240
Security Support Provider Interface(SSPI)240
SSPI Architectural Overview240
Security Support Providers(SSPs)241
Writing an Authenticated SSPI Client242
Writing an Authenticated SSPI Server245
Windows NT and Windows 2000 Transport Security246
Using Transport-Level Security on the Server247
Using Transport-Level Security on the Client247
Chapter19: Installing and Configuring RPC Applications249
Configuring the Name Service Provider249
Configuring the Name Service for Windows 95250
Editing the Windows 95 Registry250
Configuring the Name Service for Windows NT or Windows 2000251
Configuring the Name Service for Windows 3.x of MS-DOS252
Starting and Stopping Microsoft Locator253
Registry Information253
Using RPC Registry Entries253
Configuring the Windows NT and Windows 2000 Registry for Port Allocations and Selective Binding255
Using RPC with Winsock Proxy257
SPX/IPX Installation258
Configuring RPC for SPX/IPX258
Configuring SAP and RPC260
Configuring the Security Server261
Chapter20: Asynchronous RPC263
Declaring Asynchronous Functions264
Client-Side Asynchronous RPC264
Making the Asynchronous Call265
Waiting for the Asynchronous Reply267
Receiving the Asynchronous Reply268
Server-Side Asynchronous RPC269
Handling Asynchronous Calls269
Receiving Cancellations269
Sending the Asynchronous Reply269
Asynchronous I/O and Asynchronous RPC271
Causal Ordering of Asynchronous Calls272
Error Handling272
Asynchronous RPC Over the Named-Pipe Protocol273
Using Asynchronous RPC with DCE Pipes274
Asynchronous Pipes274
Declaring Asynchronous Pipes274
Client-Side Asynchronous Pipe Handling275
Server-Side Asynchronous Pipe Handling276
Asynchronous DCOM280
Chapter 21:RPC Message Queuing281
Overview of Message Queuing Services Architecture281
Message and Message Queue Properties283
Using MSMQ as an RPC Transport283
System Requirements for RPC-MQ Applications284
Developing RPC-MQ Applications284
MSMQ Security Services286
Chapter22: Remote Procedure Calls Using HTTP287
Using HTTP as an RPC Transport287
HTTP RPC Security290
System Requirements for HTTP RPC291
Configuring Computers for HTTP RPC291
Chapter23: RPC Samples293
Chapter24: RPC Data Types, Structures ,and Constants295
RPC Structures295
RPC Enumerated Types315
Other RPC Types316
RPC Constants329
RPC Returr,Values340
Chapter25: RPC Function Reference347
RPC Functions347
Chapter26: RPC Callback and Notification Functions575
Chapter27: RPC Macros583
Chapter28: Windows Networking(WNet)591
About Windows Networking591
WNet Functions592
Windows Networking Operations594
Using Windows Networking595
Using the Connections Dialog Box595
Enumerating Network Resources595
Adding a Network Connection599
Assigning a Drive to a Share600
Determining the Location of a Share601
Retrieving the Connection Name603
Retrieving the User Name604
Canceling a Network Connection605
Retrieving Network Errors606
Windows Networking Reference608
Windows Networking Functions608
Obsolete Functions608
Windows Networking Structures656
Part 3669
Glossary669
Index: Networking Services Programming Elements-Alphabetical Listing677