in reply to Re: Using IO::Socket to login to a server
in thread Using IO::Socket to login to a server

I believe the protocol used is tcp. Can I send the user name to the server by just printing to the socket or is there another way?
  • Comment on Re^2: Using IO::Socket to login to a server

Replies are listed 'Best First'.
Re^3: Using IO::Socket to login to a server
by ikegami (Patriarch) on Feb 04, 2008 at 03:33 UTC

    TCP isn't precise enough.

    Imagine two people communicating.
    They can communicate in English, in French, etc.
    They can communicate verbally, in writing, etc
    They can communicate over a phone, using snail mail, using a video, etc.

    By picking TCP, you picked something from the second line, but you still have haven't picked a language.

    Is it a Telnet server? an SSH server? HTTP? FTP? ...

      THe server is SSH.
      That means that the client have to log in to a SSH server then
      connect to the chat server using IO::Socket::INET
      This doesnt seem very reasonable, if not impossible.