separate tcp and mcast socket