1. Engineering
2. Computer Science
3. i am having error when i run these codes into...

# Question: i am having error when i run these codes into...

###### Question details

I am having error when I run these codes into 2 consoles. Can someone fix it. please!

----------------------------------------------

UDPClient.py

from socket import *

send_message=input('Enter message to be sent to Server:')

bytes_message=str.encode(send_message);

clientsocket=socket(AF_INET, SOCK_DGRAM)

print(str(modified_message,encoding='utf_8'))

------------------------------------------

UDPServer.py

UDP_IP = 'localhost'
UDP_PORT = ''

serversocket = socket.socket(AF_INET, SOCK_DGRAM)

serversocket.bind ( UDP_IP,UDP_PORT )

while True: