tcp/ip communication + simple string output