Revert "removed tcp and changed udp"

This reverts commit 863e8b8ba34328ab9d33031af27e0bb00ab2c4a6.