program parameters are read correctly, tcp stuff working