[erlang-questions] How to get binaries when using {packet, http}

Sverker Eriksson <>
Wed Jan 21 16:11:18 CET 2009


Oscar Hellström wrote:
> Doesn't the combination [binary, {packet, http}] mean that if the socket
> is changed to return raw packets later they will be returned as binaries [...]
>   
Yes, you are right. Which means that if binary strings are introduced in 
http-packets it will most probably be done with some other option, like 
{packet, http_bin}.

/Sverker, Erlang/OTP Ericsson




More information about the erlang-questions mailing list