Interview Questions

Can I do this with Perl?

Perl, Sockets and TCP/IP Networking


(Continued from previous question...)

Can I do this with Perl?

Sure. Perl provides support for the socket API natively. Although the interface is not that bad anyway, there is also a very convenient module, IO::Socket that works like a wrapper on the native API and provides a simpler and easier way to deal with sockets. We'll use IO::Socket in this tutorial to demonstrate writing two simple programs that communicate with sockets.

(Continued on next question...)

Other Interview Questions