Feb. 22nd, 2007
Люблю писать комменты.
Feb. 22nd, 2007 02:08 pm# Presently we can put anything in the 'from' argument since TCP
# Server replaces it with the ID of the session the TCP client
# connects into. But strange things and unobvious usages already
# lurk in my mind, so better put the ID of the component sesion
# here. It gives no warranty, but it makes you feel safer.
my $pkt = new Comm::Packet::Registration(
from => $_[SESSION]->ID,
data => [$filter]);
# Server replaces it with the ID of the session the TCP client
# connects into. But strange things and unobvious usages already
# lurk in my mind, so better put the ID of the component sesion
# here. It gives no warranty, but it makes you feel safer.
my $pkt = new Comm::Packet::Registration(
from => $_[SESSION]->ID,
data => [$filter]);