Is there a reason for SetIp() to return an invalid FInternetAddr?

I’m trying to initialize an FSocket with an FInternetAddr. I’m passing an address as an FString to SetIp() to initialize it. It works fine with local (, but throws an error (LogSockets: Warning: GetAddressInfo failed to resolve host with error SE_HOST_NOT_FOUND [11001]) when passing any other address in my network (192.168.X.X). So that socket can’t be initialized properly.

I can ping all the addresses just fine. Any idea as to why?

I was passing the destination address as an cmd argument (-destination=192.168.X.X). So it registered it as “=192.168.X.X”.