Considering Outside Factors
00:00 Let’s start taking a look at what’s more common with using sockets, starting with connectivity and communication breakdown. So far, our client and server have been on the same computer using the loopback interface localhost for our connections.
00:23 More realistically, your programs will have to use its ethernet connection to connect to other hosts. And as you’re probably aware, there are any number of things that can go wrong, both accidentally and deliberately, that can impact your programs’ running successfully.
00:46 And you should also use some defensive programming skills to prevent malicious code from impacting your system. Although that topic is beyond the scope of this course, it’s something you should be aware of.
Become a Member to join the conversation.