11-22-2010, 08:19 AM
While your own definitions are more or less correct, they're only so on a very abstract level. Technically speaking they aren't.
Socket: A socket is the endpoint of a network stream. You can think of it as the metal ring at the end of a hose.
Bind: To bind means to tell a socket what IP address and what port it's working on.
Multi-threaded server: Multi-threading is the act of distributing the process across threads. A thread is another line of execution, one that is independent of others. In other words, threads allow for multiple things to occur at once. A multi-threaded server typically works by accepting an incoming request and then splitting the workhorse for that new connection to its own thread. This was the main process remains free to deal with the next request.
Handle: A handle is a pointer to an object. A handle might be for an open file, a socket, or even a user-defined class. It's the handle that you use to interact with whatever it is representing.
Socket: A socket is the endpoint of a network stream. You can think of it as the metal ring at the end of a hose.
Bind: To bind means to tell a socket what IP address and what port it's working on.
Multi-threaded server: Multi-threading is the act of distributing the process across threads. A thread is another line of execution, one that is independent of others. In other words, threads allow for multiple things to occur at once. A multi-threaded server typically works by accepting an incoming request and then splitting the workhorse for that new connection to its own thread. This was the main process remains free to deal with the next request.
Handle: A handle is a pointer to an object. A handle might be for an open file, a socket, or even a user-defined class. It's the handle that you use to interact with whatever it is representing.
Ho, ho, ho! Well, if it isn't fat stinking billy goat Billy Boy in poison!
How art thou, thou globby bottle of cheap, stinking chip oil?
Come and get one in the yarbles, if ya have any yarbles, you eunuch jelly thou!
How art thou, thou globby bottle of cheap, stinking chip oil?
Come and get one in the yarbles, if ya have any yarbles, you eunuch jelly thou!