Thank you for the reply. I guess what would make sense is for getaddrinfo to check if you are providing an IP, then do not try to resolve.
Regardless, what I found out, the current modusocket.c implementation for stm32 does provide write or read commands, which are needed used by the underlying Python libraries I’ve found. I tried to replace write with send and read with recv which seem to be pretty close. However it does not seem to work.
Looking for alternatives. One option would be to use HTTP to send data instead of MQTT. Any directions on how to POST to an address from OpenMV?