receive_data trigger separator

9 views
Skip to first unread message

Andre Courchesne

unread,
Oct 30, 2015, 3:43:10 PM10/30/15
to EventMachine
Hi,

Right now it seems that receive_data is triggered on a \n . Is there a way to change this ? I would like to trigger on \x03 for example.

Thanks.

Aman Gupta

unread,
Oct 30, 2015, 3:44:33 PM10/30/15
to EventMachine
receive_data is triggered whenever data arrives via the tcp socket. It is up to you to buffer it and parse out logical packets
--
You received this message because you are subscribed to the Google Groups "EventMachine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eventmachine...@googlegroups.com.
To post to this group, send email to eventm...@googlegroups.com.
Visit this group at http://groups.google.com/group/eventmachine.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages