added better print

This commit is contained in:
Jeena Paradies 2011-04-26 17:16:27 +02:00
parent 612811614a
commit e5f2652ae6
5 changed files with 349 additions and 350 deletions

View file

@ -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) ->