-module(client).
-export([start/0]).

start() ->
    SomeHostInNet = "localhost",
    %SomeHostInNet = {127, 0, 0, 1},
    %SomeHostInNet = {147, 175, 98, 6},
    {ok, Sock} = gen_tcp:connect(SomeHostInNet, 2000, [binary, {packet, 0}, {active, false}]),
    ok = gen_tcp:send(Sock, term_to_binary({30, 40})),
    ok = gen_tcp:close(Sock).
