Perl socket question

Hi there, Really quick question that I have been unable to find an answer for on the web is simply, can use the newer IO::Socket module on my sever process and use the older perl built-in "socket" module to connect to the IO:socket?

or do i need to have the same module (be it socket or IO:Socket) on both client AND server

any help on this would be greatly appreciated, thanks

Not necessary to use same module in both server and client.
You can use different modules.
But sending and receiving a packet between server and client should be proper.

Even you can have server in Perl and client in C.