標籤為 “Network” 的頁面如下
Post
python網路與安全閱讀心得
本篇引用自Mastering python for networking and security一書 文中所有範例都來自該書本與該書本的範例網站 書本的範例儲存庫: https://github.com/PacktPublishing/Mastering-Python-for-Networking-and-Security-Second-Edition 目錄 第一章 從目錄來看,
Post
python與byte串與網路
本篇引用自Foundations of Python Network Programming一書 bytes串與網路的關係 在網路傳輸時如socket,是無法直接採取Unico
Post
python網路程式03:tcp
本篇引用自Foundations of Python Network Programming一書 1.tcp通訊 import argparse, socket #如果長度不符預期,則發出錯誤提示 def recvall(sock, length): data = b'' while len(data) < length: more
Post
python網路程式02:udp協定與port
本篇引用自Foundations of Python Network Programming一書 1.port的用途 port其實可以看作在網路傳輸訊息上頭的一個小標籤 用來區分
Post
python網路程式01:基礎
本篇引用自Foundations of Python Network Programming一書 本章討論如何使用python發出http請求 1.用網址取得主機ip import socket if __name__ ==