Basic getaddrinfo() basic example : Address Info : Network PYTHON examples


PYTHON examples » Network » Address Info »

 

Basic getaddrinfo() basic example


Basic getaddrinfo() basic example

import sys, socket

result = socket.getaddrinfo("192.1.1.100", None)
print result[0][4]

print result

           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Network
» Address Info