small changes python network programming.