It is a scripting language, and best of all you can show both imperative and object-oriented approaches to socket programming, as the libraries let you either essentially use the C api (RxSock) or to create more high level object oriented code (don't remember the lib name off the top of my head). Also, it's very readable; once you create the socket and redirect I/O to it and/or create an object handle for it, sending and receiving text is as simple as:
say "here's the message"
pull theAnswer
in the imperative form, and
mySocket~lineout("here's the message")
theAnswer = mySocket~linein
in the OO form.