printing out send and listen ports