Cart
Free US shipping over $10
Proud to be B-Corp

Windows NT Network Programming Ralph Davis

Windows NT Network Programming By Ralph Davis

Windows NT Network Programming by Ralph Davis


$11.69
Condition - Good
Only 1 left

Summary

This programmer's guide to Windows NT features: down-to-earth instruction on creating applications; details of networking functions, the network programming interfaces and input/output services available; and a disk providing a network independent interface that will aid application development.

Windows NT Network Programming Summary

Windows NT Network Programming: How to Survive in a 32-Bit Networking World by Ralph Davis

Microsoft's Windows NT has been accepted enthusiastically as a robust and versatile operating system for high-end personal computers, offering particularly powerful networking capabilities. However, to use more than the most basic of these capabilities, you must master NT's networking features and programming principles, and that means you need Windows NT Network Programming. Windows NT Network Programming untangles NT's sophisticated and complex web of new technologies and networking standards. This book teaches you effective approaches for creating applications that run in networks consisting of Windows NT personal computers or mixes of PCs using NT and other Windows and non-Windows platforms. You'll learn, form a network programming perspective, basic Windows NT system architecture, and advanced programming techniques. This book also focuses on how you can build distributed Windows NT applications using the peer-to-peer networking APIs and standards Windows NT includes and supports, including: *Named Pipes *Windows Sockets *Remote Procedure Calls *NetBIOS *LAN Manager API for Windows NT *NetBEUI *TCP/IP *Novell's IPX/SPX.Window NT Network Programming features as an example program a complete and professional generic peer-to-peer networking API for Windows NT, which coordinates and streamlines the interaction between your networking applications and NT's various supported API sets. This generic API greatly simplifies application development. 0201622785B04062001

About Ralph Davis

Ralph Davis is a professional programmer, programming consultant, and writer. He has taught Windows network programming at numerous companies including Digital Equipment Corporation.

0201622785AB04062001

Table of Contents

(Each chapter begins with an Overview and all chapters, except Chapter 1, end with a Conclusion and Suggested Readings.)

I. INTRODUCTORY COMMENTS.

1. Introduction.

NT Network Programming Course.

Limitations of the Code in Windows Network Programming.

Windows NT Network Programming.

Structure of the Book.

Installing the Source Code Disk.

2. The Architecture of Windows NT.

The Architecture of the Operating System.

Environment Subsystems.

The Security Subsystem.

The NT Executive.

The NT Kernal.

The Hardware Abstraction Layer (HAL).

NT Network Architecture.

The Multiple UNC Provider (MUP).

The Multiple Provider Router (MPR).

The Network Redirector.

The Network Server.

Transport Driver Interface (TDI) and Network Device Interface Specifications (NDIS).

II. ADVANCED NT TECHNIQUES.

3. Structured Exception Handling.

Uses.

Syntax.

Semantics of Structured Exception Handling under Windows NT.

Possible Exceptions.

The Exception Filter.

Raising Your Own Exceptions.

Structured Termination Handling.

4. Memory Allocation in Windows NT.

States of Memory.

The Virtual Memory Allocation API.

Why Reserve Memory?

Other Virtual-Memory Functions.

Heap Memory Allocation.

The Heap Memory Allocation API.

Global and Local Memory Allocation.

A Little PWALK through Memory.

5. Multithreading.

What Are Threads?

Purposes of Threads.

Parallel, Asynchronous Execution.

Executing Multiple Copies of Code Simultaneously.

Shielding Users from the Effects of Blocking Calls.

Symmetric Multiprocessing.

Create Thread().

The Thread Entry-Point Function.

Killing Threads.

Thread Synchronization.

Compiler and Linker Switches for Building Multithreaded Applications and DLLs.

Code Listings.

6. Synchronization Objects.

The Wait Functions.

The Mechanics of the API.

Mutexes.

Events.

7. Win32 File I/O.

Basic File I/O Operations.

CreateFile().

ReadFile()/WriteFile().

GetOverlappedResult().

Callback Functions with Overlapped File I/O.

Additional Win32 File I/O Functions.

Source Code Listings.

printfConsole().

cat.

touch.

which.

Is117.

8. Dynamic-Link Libraries (DLLs) in Windows NT.

Building DLLs for Windows NT.

Specifying the DLL Entry Point.

Data in a DLL.

The DLL Entry Point.

Thread-Specific Data.

Syntax of the Thread Local Storage API.

Using Thread Local Storage in DLLs.

Using Storage-Class Modifiers to Obtain Thread-Specific Data.

Memory-Mapped File I/O.

Using the Memory-Mapping API.

Syntax of Memory-Mapping Functions.

Code Listings.

The File-Management Utilities.

The Level-One DLL (WNETLV1.DLL).

III. PEER-TO-PEER PROGRAMMING.

9. Peer-to-Peer Concepts and API Design.

Peer-to-Peer Communications.

Types of Peer-to-Peer Service.

Connectionless (Datagram) Service.

Connection-Oriented Service.

Developing a Standardized API.

No Standardization under Windows.

Porting Network Applications from Windows 3.X.

The WNET() API.

The Level-Zero API.

How the WNET() API Works.

Additional Software Layers.

10. Named Pipes and Mailslots.

The Named Pipes API on the Server Side.

CreateNamedPipe().

ConnectNamedPipe().

Named Pipes API-The Client Side.

SetNamedPipeHandleState().

Named Pipes Version of _WNetCall().

Named Pipes API-Data Exchange.

Other Client-Side Functions.

Terminating a Named Pipes Connection.

Strategies for Multithreading a Named Pipes Server.

One Thread per Instance with a Blocking, Non-Overlapped Pipe.

One Thread for All Instances with an Overlapped Pipe.

One Thread per Instance with an Overlapped Pipe.

Mailslots.

The Mailslots API.

A Mailslot Server.

Additional Code Listings.

Other Passive Server-Side Operations.

Transmitting Data over a Named Pipe Connection-WNETSend() and _WNETShipData().

Closing a Conversation-_WNETHangup().

Transmitting Data over a Mailslot.

Shutting Down.

Named Pipes Benchmarks.

WriteFile()/ReadFile() versus TransactNamedPipe().

Local Named Pipes with Explicit Machine Name Versus Machine Name of ..

Remote Named Pipes.

11. Windows Sockets.

Implementation of Windows Sockets under Windows NT.

Berkeley Sockets to Windows Sockets.

Basic Windows Sockets.

WSAStartup/.

Opening a Socket.

Binding to a Machine Address and Service Endpoint.

Putting a Server into the Listening State.

Accepting Client Connections.

Client-Side Calls.

Exchange of Data.

Datagram Service.

Closing a Socket.

Shutting Down.

Other Portability Considerations.

Berkeley to Windows Sockets-A Brief Summary.

Windows Sockets Extensions.

WSAAsyncSelect().

Miscellaneous WSA Functions.

The Level-Zero Windows Sockets DLLs.

DLL Initialization.

_WNetInit().

_WnetListen() and WNetReceiveDatagram().

_WNetReceive().

The Notification Window Procedure.

The Active Operations.

Hanging Up.

Shutting Down.

Windows Sockets Benchmarks.

12. NetBIOS.

The NetBIOS API.

NetBIOS Commands.

The NetBIOS Name Commands.

The NetBIOS Session Commands.

The NetBIOS Datagram Commands.

Other NetBIOS Commands.

The NetBIOS Level-Zero DLL.

DLL Initialization.

_WNetInit().

Adding NetBIOS Names.

Listening for Connections.

Listening for Datagrams.

The NetBIOS Post Routine-NBWndProc().

Connection-Oriented Receives.

Establishing A Connection.

Connection-Oriented Sends.

Sending a Datagram.

Hanging Up and Shutting Down.

NetBIOS Benchmarks.

13. Remote Procedure Calls (RPC) and NT Services.

Overview of RPC.

Microsoft RPC Compliance with OSF/DCE.

Structure of RPC.

The Interface Definition Language (IDL) File.

The Attribute Configuration (.ACF) File.

The RPC Runtime Library (Server Side).

Using RPC Function Calls (Client Side).

RPC Benchmark Data.

Local Data Transfer with RPC.

Remote Date Transfer with RPC.

Windows NT Services.

The main() Function in an NT Service.

The ServiceMain() Function.

The Service Control-Handling Function.

Additional Service-Related Functions.

Event-Logging.

IV. OTHER APIS OF INTEREST.

14. The Win32 Security API.

The Windows NT Security Model.

Security Attributes.

Security Descriptors.

Access-Control Lists (ACLs) and Access-Control Entries (ACEs).

Security Identifiers (SID).

Using the Win32 Security Functions.

File Objects-Named Pipes.

File Objects-Standard Disk Files.

Kernel Objects.

Private Objects.

User Objects.

System Access Control Lists.

Enabling Token Privileges.

Adding a System Audit ACE.

15. The Registry and Performance Modeling.

The Registry as a Hierarchical Database.

The Win32 Registry API.

Adding a Record.

Opening an Existing Record.

Updating a Record.

Querying a Record.

Closing and Deleting a Key.

Connecting to the Registry on a Remote Machine.

Security and the Registry.

Using the Registry.

Initialization-File Mapping.

Enumerating Subkeys.

Adding Information to the Registry.

Registering an Application for Event Logging.

Performance Monitoring.

The Performance Monitoring API.

Objects and Counters.

Explain Text.

Retrieving Performance Data.

Data Structures Returned by the System.

The Revised Benchmark Programs.

The Bytes Total/sec Counter.

Some Useful C++ Objetcs.

Calculating the Byte-Transfer Rate.

Named Pipes.

16. The LAN Manager API for Windows NT.

Where Does the LAN Manager API Fit In?

General Considerations.

Unicode Only.

Buffer Allocation.

Global Groups and Local Groups.

Machine Name Arguments.

Levels of Detail.

Include Files and Link Libraries.

Finding Out about Servers.

WNetEnumServers().

Managing Users.

Adding a User.

Deleting a User.

Enumerating Users.

Managing Groups.

Adding a Group.

Deleting a Group.

Deleting Groups.

Enumerating Groups.

Associating Users and Groups.

Adding a User to a Group.

Deleting a Group Member.

Listing Group Members.

Determining if a User Belongs to a Group.

Listing Member Groups.

17. Additional NT Network APIs.

The Built-in WNet Functions.

Connecting to Remote Resources.

Breaking a Connection to a Remote Resource.

Finding Out Your User Name.

Connection Dialog Boxes.

Network Resource Enumeration.

Extended Error Reporting.

NetDDE.

Connecting to a NetDDE Server.

Making a DDE Server NetDDE-Aware.

Obtaining NetDDE Share Information.

Other NetDDE Functions.

The Messaging API (MAPI).

MAPISendDocuments().

Mail-Enabling an Application.

Index. 0201622785T04062001

Additional information

GOR004569860
9780201622782
0201622785
Windows NT Network Programming: How to Survive in a 32-Bit Networking World by Ralph Davis
Used - Good
Hardback
Pearson Education (US)
19941124
592
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - Windows NT Network Programming