First chance exception in winsock 'gethostbyname' call

Situation:

Comodo firewall security level is custom - no special static rules are created
I’am debuging simple winsock application and inside call to

gethostbyname

function the first-chance exception is risen:

0x000006BA: The RPC server is unavailable.

After I ignore this exception, everything is OK, and host name is resolved.
There is NO problem when security level is set to ‘Allow All’
Tested application configuration is Debug - didn’t tested with Release build.
Comodo version: 2.4.18.184

This is not problem for me - I just thought that it may help you to
catch some other connected bugs…

Regards,

Libor