so this is my code which listens to Minecraft client
from socket import socket from socket import AF_INET, SOCK_STREAM socket = socket(AF_INET, SOCK_STREAM)