[erlang-questions] Bad value on output port 'tcp_inet'

Claes Wikstrom <>
Wed Oct 3 10:20:37 CEST 2007


Chandru wrote:

> 
> This is most probably because you are sending something other than a
> (deep) list of integers or binaries. Check the data you are trying to
> send down the socket.
> 

Typically atoms,

is in for example:

gen_tcp:send(Socket, [Bin1, "foo", some_atom, Bin2]).

/klacke



More information about the erlang-questions mailing list