Is there a way to write a script that will login to a server using IO::Socket? The user is prompt in the terminal to enter the user name and password. The reason I ask is because the chat server resides on an academic server. In order for the chat client to communicate with the chat server it must first login to the academic server. I hope this is clear, I know it is a little weird but that is the only way I can set it up.