Search found 1 match

by promocode12
Tue Oct 20, 2020 1:30 pm
Forum: General Discussion and Questions
Topic: UDP Calculator syntax error
Replies: 0
Views: 1465

UDP Calculator syntax error

Not sure what the error is because I checked some other code and it looks about right >>> from socket import * >>> serverName= 'Localhost' >>> serverPort=12345 >>> serverSocket=socket(AF_INET,SOCK_DGRAM) >>> serverSocket.bind(("",serverPort)) >>> print("Calculating expressions..") Calculating expres...