Hmm,  since I'm using Filter::Stream I guess my next question is how to you
tell the end of a string (for lack of a better word) in Perl?  I guess I
could write a Filter::String and then assume that all strings end with a
null and look for the null in the stream,  however I'm not sure if this is
really correct (and I did search the web) and have no idea on how Perl knows
the end of a string.




> -----Original Message-----
> From: [EMAIL PROTECTED]@INTERNET@HHC 
> Sent: Monday, October 01, 2001 12:06 PM
> To:   Bob Maccione
> Cc:   [EMAIL PROTECTED]
> Subject:      RE: Message sizes
> 
>  <<...>> 
> 
> On 01-Oct-2001 Bob Maccione wrote:
> > Does anyone know if POE (or Perl (or the way the POE is using Perl))
> > will fragement messages?
> >
> > If I send a 10k or 100k or whatever size string to a Session will it get
> > the complete string?
> 
> Of course it will.
> 
> Unless you are talking about sockets, in which case, yes, TCP will split
> up longer messages and you'll receive them one part at a time, in order.
> This doesn't apply if you are using some of the POE::Filter
> classes like Block (which will reassemble the enter string), Line (which
> will reassemble the line), Reference (which will reassemble the the block
> of data needed for the reference).
> 
> -Philip
> 
> 

Reply via email to