为了做一个简单的端口扫描程序(port scanner),我们将更换打印语句(print statement)为一个代码片段(code snippet)来建立套接字连接(socket connection)。
基于16个网页-相关网页
对HTTP请求的响应是通过标准打印语句来处理的。
Response to the HTTP request is handled using standard print statements.
第8行中的打印语句也是前面讨论过的字符串格式操作。
The print statement in Line 8 is another of those string formatting operations that was discussed earlier.
最后,检查该控制台以查看该拦截器的打印语句(图78)。
Finally, examine the console to see the print statements for the interceptor (Figure 78).
So what we've seen is I've run it twice here.
我们现在看到的就是,我执行了这条打印语句两次。
应用推荐