Erlang client-server example using gen_tcp is not receiving anything
I think your client is faulty because it specifies: {packet, 2} yet the server specifies (in code not shown) : {packet, 0} In Programming Erlang (2nd) on p. 269 it says: Note that the arguments to packet used by the client and the server must agree. If the server was opened with {packet,2} and the … Read more