POE::Component::Client::TCP can take an Alias parameter and it will set
this alias onto the session on startup of the Session. It does not set
the alias on reconnect. However, whenever the shutdown state is entered
(e.g. connection dies), it removes the alias. Which means you have to
manually manage the alias yourself. If you just use one of the quoted
examples and schedule a reconnect event, you'll end up later on with a
connected socket but without the alias. Either this makes the Alias
parameter pointless, or I'm missing something.
Anyone care to enlighten me?
Nick
