script for serial to tcp/ip