in reply to Re^3: IO::Socket to me. . . or why won't you stay?
in thread IO::Socket to me. . . or why won't you stay?

Yeah, it does work and works fine when I create a new socket for each request. I guess I just like persistent connections, like Apache::DBI, but this may not be possible with a socket.

Doing this I kind of feel like a script-kiddie, like I'm not really understanding what's happening, even though I can get it work and have read the docs, camel, and Cookbook entries on IO::Socket.

Oh well. I'm sure true socket enlightenment is close. . .

  • Comment on Re: Re^3: IO::Socket to me. . . or why won't you stay?

Replies are listed 'Best First'.
Re^5: IO::Socket to me. . . or why won't you stay?
by tadman (Prior) on Aug 01, 2001 at 19:16 UTC
    In this case, you're not able to keep a connection open because the WHOIS protocol does not allow it. HTTP, on the other hand, has a "KeepAlive" feature which allows the socket to remain open for other transmissions.

    You may also want to look into the RWHOIS protocol, which is supposed to be replacing the old, and very tired WHOIS. If any functional improvements are to be made, this is where they will occur.