update for new tcp connect interface