RPCs served through TCP


For the game I’m working on, I need that the RPCs are served through TCP.
I saw that UIpNetDriver is responsible for the RPC communication and it creates the UDP socket, using the function UIpNetDriver::CreateAndBindSocket.

I’m wondering if the correct way to do what I need is override UIpNetDriver and so the function UIpNetDriver::CreateAndBindSocket: then create the TCP socket and that’s it.

Is this fine? There is a better/easier way to do it?