Used this event if you want to have a class that is derived from ENetPeer that adds your own custom properties as the Peer class for the connection.
CreateCustomPeer() as ENetPeerreturn new instance of your custom Peer class here.
Note:
Its very important that you do not try to reuse existing instance of you already have, it must be a new fresh instance you create inside this event.