updatet ethernet sender with dynamic memory mangament. NOT WORKING AT THE MOMENT!!