python socket编程,报错“TypeError: an integer is required”

NoSuchKey