Implemented redirection to tcp