pong_bots smarter and starting with ggs.jeena.net

This commit is contained in:
Kallfaktorn 2011-04-26 16:28:44 +02:00
parent b7fc68a010
commit 68e97023c6
2 changed files with 14 additions and 12 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) ->