[erlang-questions] gen_tcp custom framing

Joern opendev@REDACTED
Mon Oct 1 19:32:20 CEST 2007


Dear erlang-questions,

having to deal with a non-inet supported packet format on TCP / IP
(STX / ETX limited, fixed size header, 7-bit encoded payload length) I
am wondering what the best practice might be. Right now I spawn_link
into a passive recv loop - is it possible to add a custom framing
behaviour to inet and get to use { active, once }?

Best regards,


rgs/joern
--



More information about the erlang-questions mailing list