anchor.diff:  %% @doc Starts the server
   %% @end
   %%--------------------------------------------------------------------
  -start_link(DrainID, Host, Port) ->
  +start_link(ChannelID, DrainID, Host, Port) ->
       gen_server:start_link(?MODULE,
                             [#state{id=DrainID,
  +                                  channel=ChannelID,
                                     host=Host,
                                     port=Port}],
                             []).
  
positive.code: %%====================================================================
  
  %% @private
  init([State0 = #state{}]) ->
      DrainSize = logplex_app:config(tcp_drain_buffer_size),
      {ok, State0#state{buf = logplex_drain_buffer:new(DrainSize)}}.
  
  
negative.code:          terminate/2, code_change/3]).
  
  -record(state, {id :: binary(),
                  channel :: binary(),
                  host :: string() | inet:ip_address(),
                  port :: inet:port_number(),
                  sock = undefined :: 'undefined' | inet:socket(),
  