Raspberry Piは色々な楽しみ方が出来る素敵なミニPCです。趣味だけでなく産業的にも3Dプリンタやロボットなど様々な物に搭載されています。ネットワーク接続も可能で、有線LANでもOKですしWiFiも搭載されています(※ラズパイの機種によります)。 とすると ...
低水準ネットワークインターフェースを扱うsocketモジュールを紹介をします。通信は素人のため学習内容も含めて記載しました。 なお2台のPCで通信するため私はPC以外にRasberry Piを1台準備しました。 インターネットでは通信プロトコル(通信のルール)と ...
C++ Socket Server: The repository provides a well-architected C++ socket server, acting as a bridge for communication. Python + C++ Socket Client: A Python/C++ script serves as the client, ...
This example shows a Python Client Socket that connect to a specific HOST and Port. For this example the IP address of the test machine is used. To get the IP address you can use the ipconfig command ...