Network Programming for the MicrosoftВ® .NET Framework (Pro-Developer)

B

backing stores

defined, 23

memory buffers for, 33

Sockets class for, 35

bandwidth

100 Continue effects on, 333

network awareness of, 338342

scalability of, 329330

base streams, 2425, 27

Basic authentication, 312, 314

basic network types and services layer, 102106

Begin methods , Socket class, 192193, 198200

BeginGetRequestStream method, 221224

BeginGetResponse method, 224226

BeginRead method, 6265

BeginWrite method, 6265

binary serialization

advantages of, 68

BinaryFormatter class, 7173

BinaryReader class, 45

BinaryWriter class, 45

binsoapserial.cs sample, 78

controlling, 7478

definition of binary files, 29

deserialization, 7374

disadvantages of, 68

efficiency of, 69

exceptions, 74

file structure of, 29, 6869

formatter instantiation, 7173

GetObjectData method, 75, 77

ISerializable for controlling, 7578

localizing data, 75, 77

NonSerialized attribute, 74

portability of, 68

selecting fields for, 74

Serializable attribute, adding to classes, 71

steps for, 72

TCP channels with, 274

type retention, 68

binding sockets, 148151

blocked operations

client socket options, 156, 165166

ioctls, non-blocking mode, setting, 165166

preventing. See asynchronous programming pattern

streams, 47

threads. See threads

Web calls, 331

broadcast IP addresses, 129, 132

buffering

BufferedStream class, 40

file streams, 32

byte arrays, 26, 157, 171172, 199

Категории