エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
How to access Unix Domain Sockets from the command line?
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
How to access Unix Domain Sockets from the command line?
Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import s... Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import socket >>> import sys >>> >>> server_address = '/tmp/tbsocket1' # Analogous to TCP (address, port) pair >>> sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) >>> sock.connect(server_address) >>> sock.recv(512) '*** uWSGI Python tracebacker output ***\n\n' Since UDS are not ordinary files, cat doe