added better print
This commit is contained in:
parent
612811614a
commit
e5f2652ae6
5 changed files with 349 additions and 350 deletions
|
@ -3,8 +3,8 @@
|
|||
-export([read/2, send_command/3]).
|
||||
|
||||
connect() ->
|
||||
{ok,Socket} = gen_tcp:connect("ggs.jeena.net", 9000,[{active, false}]),
|
||||
%{ok,Socket} = gen_tcp:connect("localhost", 9000,[{active, false}]),
|
||||
%{ok,Socket} = gen_tcp:connect("ggs.jeena.net", 9000,[{active, false}]),
|
||||
{ok,Socket} = gen_tcp:connect("localhost", 9000,[{active, false}]),
|
||||
Socket.
|
||||
|
||||
read(Socket, Ref) ->
|
||||
|
|
Reference in a new issue