anchor.diff:  %%--------------------------------------------------------------------
   handle_cast({connect, IP, Port, PeerId}, S) ->
       Socket = int_connect(IP, Port),
  +    error_logger:info_report(got_connect),
       case peer_communication:initiate_handshake(Socket,
   					       PeerId,
   					       S#state.local_peer_id,
   					       S#state.info_hash) of
   	{ok, _ReservedBytes} ->
  +	    error_logger:info_report(ok_handshake),
   	    enable_socket_messages(Socket),
   	    {ok, SendPid} =
   		torrent_peer_send:start_link(Socket,
  
positive.code: 	    {noreply, S#state{tcp_socket = Socket,
  			      send_pid = SendPid}};
  	{error, X} ->
  	    exit(X)
      end;
  handle_cast({complete_handshake, _ReservedBytes, Socket}, S) ->
      peer_communication:complete_handshake_header(Socket,
  
negative.code: 	{ok, Socket} ->
  	    Socket;
  	{error, _Reason} ->
  	    exit(shutdown)
      end.
  
  update_with_new_piece(Index, Offset, Len, Data, GBT, N, S) ->
  