Numeric host name error (socket, win32)

M

Mikke Mattsson

Does anoyne know how to get the socket-module to resolve numerical hostnames?

The host address is not resolved correctly.
[(2, 2, 17, '', ('0.0.12.28', 21))]

If I ping the computer from a dos-prompt, I get the correct address (192.168.65.3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top