C# Threading Handbook

 < Day Day Up > 


N

Name property, Form class, 233

Name property, Thread class, 35

NETThreadEvents example, 107

NetworkCredential class, System.Net namespace, 229

networking and threading, 227

networking application example

building the application, 232

creating the client, 232

creating the server, 245

creating the client

DisplayData method, 242

MessageAssembler method, 241

ReceiveStream method, 239

SocketClient_Closing method, 244

StockServer_Load method, 247

TcpClient connection, closing, 244

creating the server

CheckQuote method, 250

data source, 250

ListBox control, 246

MessageAssembler method, 249

StreamReceive method, 248

UML class diagram, 245

design goals, 231

UML seqence diagram, 231

running the applications, 253

networking in .NET, 228

sample application, 231

System.Net namespace, 228

System.Net.Sockets namespace, 230

NetworkStream class, System.Net.Sockets namespace, 230

inherits from Stream class, 238

methods

BeginRead method, 238

BeginWrite method, 238

creating instance, 238

EndRead method, 240, 241

Normal value, ThreadPriority enumeration, 43

NotSupported option, SynchronizationOption enumeration, 90


 < Day Day Up > 

Категории