Gotcha. Well I'll stick with Luvit. Thanks again for all your work.
Best. On Monday, January 6, 2014 2:14:44 PM UTC-6, develephant wrote: > > Hello, > > I'm looking to see if there is a simple way to read the luvit tcp (smart) > socket by line similar to the straight luasocket: > > client:*receive(*[pattern [, prefix]]*)* > > - '*l': reads a line of text from the socket. The line is terminated > by a LF character (ASCII 10), optionally preceded by a CR character > (ASCII 13). The CR and LF characters are not included in the returned > line. > In fact, *all* CR characters are ignored by the pattern. This is the > default pattern; > > > http://w3.impa.br/~diego/software/luasocket/tcp.html#receive > > In luvit for example: > client:on( "data", function( data ) > --data is a line terminated by "\r\n" > end) > > I'm a newbie on node, but I can't seem to find any option. Is this > possible? Or will I need to parse it up myself? Any advice would be > appreciated. > > Cheers. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
