We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried `Socket.TCP.connect("localhost", 80, {:raw, 6, 15, :true}) and received:
** (FunctionClauseError) no function clause matching in Access.get/3
The following arguments were given to Access.get/3: # 1 {:raw, 6, 15, true} # 2 :timeout # 3 nil Attempted function clauses (showing 5 out of 5): def get(%{__struct__: struct} = container, key, default) def get(map, key, default) when is_map(map) def get(list, key, default) when is_list(list) and is_atom(key) def get(list, key, _default) when is_list(list) def get(nil, _key, default) (elixir) lib/access.ex:302: Access.get/3 (socket) lib/socket/tcp.ex:105: Socket.TCP.connect/3
The text was updated successfully, but these errors were encountered:
What would the code look like with gen_tcp?
gen_tcp
Sorry, something went wrong.
{:ok, s} = :gen_tcp.connect('localhost', 80, [{:raw, 0, 15, <<1>>}, {:ip, {10, 138, 69, 63}}])
No branches or pull requests
I tried `Socket.TCP.connect("localhost", 80, {:raw, 6, 15, :true}) and received:
** (FunctionClauseError) no function clause matching in Access.get/3
The text was updated successfully, but these errors were encountered: