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

T

TCP (Transmission Control Protocol)

advantage of, 145

bidirectionality of, 320

buffering, 320

channels, 274275

close requests , 320321

defined, 144, 320

disadvantages of, 320322

dropped packets, effects of, 330

errors, 159

implicit socket binding, 321

maximum message size , 145

Nagle algorithm, 321322

socket-level helper classes, 111112

stream orientation, 145

TcpClient class, 178179

TcpListener class, 179180

TIME_WAIT connection problem, 320321

uniqueness requirement, 321

windows , 320

text files, 29

Text namespace, 9

threads

Abort method, 5253

AbortRequested state, 52

ASP.NET, 237

asynchronous Web calls, 228

AutoResetEvent class, 5759

background, running in, 53, 57

code access security for, 51

completion, determining, 54

creating, 4951

critical sections, 6062

Decrement method, 6162

delegate methods for, 4950, 5455

events for synchronizing, 5759

finishing, 5354

Increment method, 6162

Interlocked class, 6162

Interrupt method, 53

Join method, 54

ManualResetEvent class, 5759

Monitor class, 6061

multiple starts, 50

namespace for, 9, 48

number allowed, 51

operating states, table of, 5152

performance issues, 323

pools of, 5657

purpose of, 1718, 47, 48

queues for pools, 56

ResetAbort method, 52

Running state, 52

shared objects with, 6062

Start method for, 50

Stopped state, 52

stopping, 5253

Suspended state, 5253

SuspendRequested state, 52

ThreadAbortException, 5253

Threading namespace, 9

ThreadNetworkIO sample program, 66

ThreadStart class, 49

Unstarted state, 52

WaitCallback delegate methods, 56, 5859

WaitSleepJoin state, 52

Web classes, optimizing for, 331333

Windows Forms with, 5455

time, NTP, 122

Timers namespace, 9

TIME_WAIT connection problem, 320321

TRACE method, 204

TransferEncoding property, 205

Transmission Control Protocol. See TCP (Transmission Control Protocol)

transport protocols, 144

Trusted zone, 302

Категории