int sod_realnet_create(sod_realnet **ppOut);
This routine allocate & initialize a new sod_realnet instance. RealNets are just container for various neural network architectures that are registered via sod_realnet_load_model_from_mem() or sod_realnet_load_model_from_disk(). A sod_realnet handle is usually returned in *ppOut but, if the engine is unable to allocate memory to hold the entire container, NULL will be written into *ppOut. This routine is often the first API call that an application makes and is a prerequisite in order to work with the RealNet interfaces. The life of this handle is described here.
SOD_OK is returned on success. Any other code indicates failure.