Data correctly extracted.

This commit is contained in:
Kallfaktorn 2011-04-20 04:51:46 +02:00
parent fb6457660b
commit 1ec145efa8
2 changed files with 50 additions and 23 deletions

View file

@ -13,9 +13,13 @@ start_link() ->
spawn(fun() -> game_loop() end ).
communication_loop(Socket) ->
A = gen_tcp:recv(Socket, 0),
ggs_network:read(A),
ggs_network:read(Socket),
communication_loop(Socket).
% A = gen_tcp:recv(Socket, 0),
% ggs_network:read(A),
%communication_loop(Socket).
peek_socket() ->