Excellent tip!~should be an "aha!" sectionimport socketprint socket.gethostname()print socket.gethostbyname(socket.gethostname())print socket.gethostbyaddr(socket.gethostbyname(socket.gethostname()))it tells the story easier than starting from scratch about binary, ip-addr-formation or something
Post a Comment
1 comment:
Excellent tip!~
should be an "aha!" section
import socket
print socket.gethostname()
print socket.gethostbyname(socket.gethostname())
print socket.gethostbyaddr(socket.gethostbyname(socket.gethostname()))
it tells the story easier than starting from scratch about binary, ip-addr-formation or something
Post a Comment