Networking and threading requre some of the same skills in the sense that the programmer is trying to synchronize the effects of asynchronous events.
Follow this tutorial to learn about TCP and UDP sockets, when to use each, and how to construct them.