18.01.2013 Views

Visual Basic 6 Client/Server Programming Gold Book:Table of ...

Visual Basic 6 Client/Server Programming Gold Book:Table of ...

Visual Basic 6 Client/Server Programming Gold Book:Table of ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In the remainder <strong>of</strong> this chapter, I review some <strong>of</strong> the key concepts <strong>of</strong> the<br />

underlying network architecture. Although the client/server developer does not<br />

need to be a network engineer, it is helpful to understand the basics <strong>of</strong> the<br />

physical model upon which the application is based.<br />

Network Topologies And Architectures<br />

The backbone <strong>of</strong> any client/server system is the network on which it is<br />

installed. It is the network that moves data from the server to the user. The<br />

network might be a 10Mbps Ethernet or it might be the Internet itself.<br />

Although network design is well beyond the scope <strong>of</strong> this book, the <strong>Visual</strong><br />

<strong>Basic</strong> client/server developer should have a grasp <strong>of</strong> how his or her data is<br />

moved in order to properly model the application.<br />

The expression network topology refers to how the network is physically laid<br />

out. In contrast, the expression network architecture refers to how the network<br />

is implemented on that topology. In the following sections, I briefly discuss<br />

the more common topologies and architectures.<br />

Peer-To-Peer Networks<br />

A peer-to-peer network is one in which the computers are connected to one<br />

another directly in series. Each PC typically contains a LAN adapter or<br />

Network Interface Card (NIC) with two jacks. Typically, these jacks accept<br />

RJ-11 pins (similar to the connectors on your phone cord). A line is run from<br />

one computer to the next serially. Although it is simple to set up, such a<br />

network is typically slow because data passes through each computer. It is<br />

vulnerable to any individual workstation being powered down or crashing, and<br />

because the network has no server, there are minimal security constraints. A<br />

Windows 95 or Windows 98 network is a peer-to-peer network.<br />

Star Networks<br />

The star network topology implies a network where all computers are<br />

connected to a hub (a hub is a box similar to a telephone switchboard<br />

containing minimal intelligence). Multiple hubs are connected to one another.<br />

Star networks are simple to maintain but <strong>of</strong>fer minimal security constraints. If<br />

a hub goes down, the entire network goes down.<br />

Ring Networks<br />

In a ring network, all computers are connected via a continuous cable. A<br />

multiplexing unit monitors the network, allowing only one packet to circle the<br />

network at a time. The packet is continually sent from computer to computer.<br />

Each computer examines the packet to see if it is addressed to that workstation.<br />

If a computer needs to send information, it waits for the packet and attaches a<br />

“request” to transmit. The multiplexing unit gives permission to each<br />

workstation in turn in a procedure that is akin to a parliament (giving each<br />

“member” a turn to speak but also allowing for higher priority speeches such<br />

as error messages). If the packet is accidentally destroyed, the multiplexer<br />

recreates it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!