There is, if said USB-C ports are both Thunderbolt 3+ or USB4. Thunderbolt will create a ad-hoc 10G network device between two hosts.