[erlang-questions] Noob Question ...
Fri Mar 6 04:33:31 CET 2009
On Fri, Mar 6, 2009 at 2:38 AM, fess <> wrote:
> means client takes a list of one as it's only argument. [ so
> test:client() works, but test:client(8021) does not match. ]
> try this
> client(Port) ->
Also, have a look at the "active" socket option to gen_tcp:connect.
You probably want to set it to false given the way your receive loop
More information about the erlang-questions