add tcp sample