Removed global TCP_MODE