Lecture 3 (Leftover): UDP Socket Programming

I have shown you how to code a networked application that runs over TCP using Java socket programming API.

To complete the picture, please take a look at this video, from Semester 2 of last AY, that illustrates how to write a socket program over UDP. While you won’t need to code UDP program in CS2105, seeing how a UDP socket API is written and how a UDP program is used, would allow you to contrast the differences between TCP and UDP.

Leave a Reply

Your email address will not be published. Required fields are marked *