Data correctly extracted.
This commit is contained in:
parent
fb6457660b
commit
1ec145efa8
2 changed files with 50 additions and 23 deletions
|
@ -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() ->
|
||||
|
|
Reference in a new issue