On Sunday, Sunday, January 19, 2003, there were so many, and several basic functions of thread did not remember it.
Start a thread T1 = new youRTHREAD (); t1.start ()
Operation thread t1.run (), the previous side said, starting the thread will automatically perform this operation
Pause t1.suspend () // and sleep () different, it indicates that a thread is hanging without setting the time and pause, we can also reactivate a thread t1.Resume ()
Stop thread t1.stop () // but not eliminated this thread
Test the thread to activate T1.isalive () // This is a function, returning the boolean value
Entering Network Program: Sockets See how much I can understand with memory: Sockets session in the seven-layer protocol, its work tells the application to send information like the network, and hide the details. For the other side, we fight Telephone, just need to dial, pick up the handset, you can speak, how do our speech pass through the telephone line to the other side, we don't need to care. Sockets is this telephone, all the mystery is in this telephone. .
I prelimated the concept of sockets, as if I have some things in the program involved, I haven't been exposed to it, so put it first.