Following a Different Thread
So I have spent much time poring over the code that I acquired from that good friend of mine, and I understood it. The problem was that it was source with a purpose. It interacted with numerous other classes, ones which I did not have. That wasn't such a big deal, but it made it more difficult to understand the basics of sockets.
So I started from scratch (while still remembering what I understood) and found a tutorial on Sun's website. I have just been going through it, and am understanding wonderfully. The best part, I find, is that I have been analysing and compiling example code and I have now learned how to interact over a network with sockets perfectly fine. The thing is, I have only learned sockets. Not threads. So I can only interact between two computers at a time.
Not to worry, however. I have already begun learning multi-threaded sockets, and I do not believe it will be very much more difficult than single-threaded. Expect another new post from me very soon. In the mean-time...
*distracts you as he escapes behind a RETURN statement*
~Genome

0 Comments:
Post a Comment
<< Home