Switch compiler warning on tcp_open() to a #warning