From man inet_addr :
The inet_addr() function converts ... If the input is invalid, INADDR_NONE (usually -1) is returned.
This is an obsolete interface to inet_aton, it is obsolete because -1 is a valid address (255.255.255.255), and inet_aton provides a cleaner way to indicate error return.
Try also :
Code:
/* Listen on all interfaces */
my_addr.sin_addr.s_addr = htonl( INADDR_ANY );
[edit]
And your IP adress dynamicly assigned is certainly not 10.12.110.57 if adress assigned by your ISP, if LAN adress it may be the good one.