Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
close()

Close the socket.  It cannot be used after this call.

src/m/c/mcandre-HEAD/python/net/rot13echoclient.py   mcandre(Download)
 
  print "closing connection"
  client.close()
  print "closed"
 

src/m/c/mcandre-HEAD/python/net/rot13echoserver.py   mcandre(Download)
      if data == echoconstants.SHUTDOWN:
        print("closing server")
        server.close()
        print("closed")
        listening = False