Answer the question
In order to leave comments, you need to log in
What could be the server problem and how to solve it?
I just started to learn the socket module and decided to try to make a local server, and at the first start the problems started. Here is the code
import socket
server = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
server.bind(("127.0.0.1", 21356))
server.listen()
while True:
user, adres = server.accept()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question