old_contents: #!/usr/bin/python3
  
  import easyclient as easyclient # when easyclient is in same folder, otherwise import easynet.easyclient as easyclient
  import easyserver as easyserver # same as above
  import time
  
  myserver = easyserver.Server("localhost", 1337)
  myserver.start()
  
  myclient = easyclient.Client("localhost", 1336, "localhost", 1337)
  myclient.start()
  
  time.sleep(0.1)
  myclient.send(b'Hello Server!')
  myserver.sendall(b"Hello Client!")
  
  myserver.ping(5, 0.2)
  time.sleep(0.1)
  myserver.showpings()
  
  time.sleep(0.1)
  print("The client has a new message:", myclient.datalist[0])
  print("The server has a new message:", myserver.datalist[0].text, "from", myserver.datalist[0].sender)
  
  
new_contents: #!/usr/bin/python3
  
  import easynet.easyclient as easyclient 
  import easynet.easyserver as easyserver
  import time
  
  myserver = easyserver.Server("localhost", 1337)
  myserver.start()
  
  myclient = easyclient.Client("localhost", 1336, "localhost", 1337)
  myclient.start()
  
  time.sleep(0.1)
  myclient.send(b'Hello Server!')
  myserver.sendall(b"Hello Client!")
  
  myserver.ping(5, 0.2)
  time.sleep(0.1)
  myserver.showpings()
  
  time.sleep(0.1)
  print("The client has a new message:", myclient.datalist[0])
  print("The server has a new message:", myserver.datalist[0].text, "from", myserver.datalist[0].sender)
  
  
subject: Update easynetwork_example.py