Skip to content
Snippets Groups Projects
Commit d8079d6c authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

getÎp now is working

parent 47f2d39d
Branches
No related tags found
No related merge requests found
import socket import socket
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("gmail.com",80))
print(s.getsockname()[0]) print(s.getsockname()[0])
s.close() s.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment