Python Network Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How it works...

In this recipe, the for-in statement is used to iterate over a sequence of variables. So for each iteration, we use one IP address to convert them in their packed and unpacked format.