correct netconn API usage