Results of 1 - 10 of about 49 for addr (0.075 sec.)
- socket --- 低水準ネットワークインターフェース — Python 3.14.8 ドキュメント 11274
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » socket --- 低水準ネットワークインターフェース テーマ 自動 ライト ダーク | socket --- 低水準ネット
...Pv4ではホストアドレスのほかに2つの特別な形式が使用できます。 '' はすべてのインターフェイスにバインドされるために使われる INADDR_ANY を表し、 '<broadcast>' は INADDR_BROADCAST を表します。これらの動作はIPv6と互換性がありません。そのためもしもあなたがP...ythonプログラムでIPv6をサポートする予定があるのならばこれらを避けたほうが良いでしょう。 For AF_INET6 address family, a four-tuple (host, port, flowinfo, scope_id) is used, where flowinfo and scope_id represent the sin6_flowinfo...and sin6_scope_id members in struct sockaddr_in6 in C. For socket module methods, flowinfo and scope_id can be omitted just for backward compatibility. Note, however,... - https://man.mtool.work/python/3.14/library/socket.html
- socket --- 低水準ネットワークインターフェース — Python 3.14.8 ドキュメント 11274
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » socket --- 低水準ネットワークインターフェース テーマ 自動 ライト ダーク | socket --- 低水準ネット
...Pv4ではホストアドレスのほかに2つの特別な形式が使用できます。 '' はすべてのインターフェイスにバインドされるために使われる INADDR_ANY を表し、 '<broadcast>' は INADDR_BROADCAST を表します。これらの動作はIPv6と互換性がありません。そのためもしもあなたがP...ythonプログラムでIPv6をサポートする予定があるのならばこれらを避けたほうが良いでしょう。 For AF_INET6 address family, a four-tuple (host, port, flowinfo, scope_id) is used, where flowinfo and scope_id represent the sin6_flowinfo...and sin6_scope_id members in struct sockaddr_in6 in C. For socket module methods, flowinfo and scope_id can be omitted just for backward compatibility. Note, however,... - https://man.mtool.work/python/3.14/library/socket.html
- Remote debugging attachment protocol — Python 3.14.8 ドキュメント 10881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at
...s, thread states, and debugger support fields. To work with a remote Python process, a debugger must first find the memory address of the PyRuntime structure in the target process. This address can't be hardcoded or calculated from a symbol name, bec...the binary. The method for finding PyRuntime depends on the platform, but the steps are the same in general: Find the base address where the Python binary or shared library was loaded in the target process. Use the on-disk binary to locate the offset...of the .PyRuntime section. Add the section offset to the base address to compute the address in memory. The sections below explain how to do this on each supported platform and include exam... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- Remote debugging attachment protocol — Python 3.14.8 ドキュメント 10881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at
...s, thread states, and debugger support fields. To work with a remote Python process, a debugger must first find the memory address of the PyRuntime structure in the target process. This address can't be hardcoded or calculated from a symbol name, bec...the binary. The method for finding PyRuntime depends on the platform, but the steps are the same in general: Find the base address where the Python binary or shared library was loaded in the target process. Use the on-disk binary to locate the offset...of the .PyRuntime section. Add the section offset to the base address to compute the address in memory. The sections below explain how to do this on each supported platform and include exam... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- contextvars --- コンテキスト変数 — Python 3.14.8 ドキュメント 10383
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » contextvars --- コンテキスト変数 テーマ 自動 ライト ダーク | contextvars --- コンテキスト変数 ¶ このモジュールは、コンテ
...中でリモートクライアントのアドレスが利用できるように、コンテキスト変数を利用します: import asyncio import contextvars client_addr_var = contextvars . ContextVar ( 'client_addr' ) def render_goodbye (): # The address of the currently handled client can...be accessed # without passing it explicitly to this function. client_addr = client_addr_var . get () return f 'Good bye, client @ { client_addr } \r\n ' . encode () async def handle_request ( read...er , writer ): addr = writer . transport . get_extra_info ( 'socket' ) . getpeername () client_addr_var . set ( addr ) # In any code that we c... - https://man.mtool.work/python/3.14/library/contextvars.html
- contextvars --- コンテキスト変数 — Python 3.14.8 ドキュメント 10383
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » contextvars --- コンテキスト変数 テーマ 自動 ライト ダーク | contextvars --- コンテキスト変数 ¶ このモジュールは、コンテ
...中でリモートクライアントのアドレスが利用できるように、コンテキスト変数を利用します: import asyncio import contextvars client_addr_var = contextvars . ContextVar ( 'client_addr' ) def render_goodbye (): # The address of the currently handled client can...be accessed # without passing it explicitly to this function. client_addr = client_addr_var . get () return f 'Good bye, client @ { client_addr } \r\n ' . encode () async def handle_request ( read...er , writer ): addr = writer . transport . get_extra_info ( 'socket' ) . getpeername () client_addr_var . set ( addr ) # In any code that we c... - https://man.mtool.work/python/3.14/library/contextvars.html
- smtplib --- SMTP プロトコルクライアント — Python 3.14.8 ドキュメント 9689
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » smtplib --- SMTP プロトコルクライアント テーマ 自動 ライト ダーク | smtplib --- SMTP プロトコル
...mbly プラットフォーム を見てください。 class smtplib. SMTP ( host='' , port=0 , local_hostname=None , [ timeout , ] source_address=None ) ¶ An SMTP instance encapsulates an SMTP connection. It has methods that support a full repertoire of SMTP and ES...ied, the global default timeout setting will be used). If the timeout expires, TimeoutError is raised. The optional source_address parameter allows binding to some specific source address in a machine with multiple network interfaces, and/or to some...specific source TCP port. It takes a 2-tuple (host, port) , for the socket to bind to as its source address before connecting. If omitted (or if host or port are '' and/or 0 respectively) the OS default behavior will be used. 普... - https://man.mtool.work/python/3.14/library/smtplib.html
- smtplib --- SMTP プロトコルクライアント — Python 3.14.8 ドキュメント 9689
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » smtplib --- SMTP プロトコルクライアント テーマ 自動 ライト ダーク | smtplib --- SMTP プロトコル
...mbly プラットフォーム を見てください。 class smtplib. SMTP ( host='' , port=0 , local_hostname=None , [ timeout , ] source_address=None ) ¶ An SMTP instance encapsulates an SMTP connection. It has methods that support a full repertoire of SMTP and ES...ied, the global default timeout setting will be used). If the timeout expires, TimeoutError is raised. The optional source_address parameter allows binding to some specific source address in a machine with multiple network interfaces, and/or to some...specific source TCP port. It takes a 2-tuple (host, port) , for the socket to bind to as its source address before connecting. If omitted (or if host or port are '' and/or 0 respectively) the OS default behavior will be used. 普... - https://man.mtool.work/python/3.14/library/smtplib.html
- トランスポートとプロトコル — Python 3.14.8 ドキュメント 8904
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » トランスポートとプロトコル テーマ 自動 ライト ダーク | トランスポートと
...をサポートしていない場合 NotImplementedError を送出します。 データグラムトランスポート ¶ DatagramTransport. sendto ( data , addr = None ) ¶ リモートピア addr (トランスポート依存の対象アドレス) にバイト列 data を送信します。 addr が None の場合、データ...endpoint() メソッドに渡されたプロトコルファクトリによって生成されるべきです。 DatagramProtocol. datagram_received ( data , addr ) ¶ データグラムを受信したときに呼び出されます。 data は受信データを含むバイトオブジェクトです。 addr はデータを送信するピ...verProtocol : def connection_made ( self , transport ): self . transport = transport def datagram_received ( self , data , addr ): message = data . decode () print ( 'Received %r from %s ' % ( message , addr )) print ( 'Send %r to %s ' % ( message ,... - https://man.mtool.work/python/3.14/library/asyncio-protocol.html
- トランスポートとプロトコル — Python 3.14.8 ドキュメント 8904
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » トランスポートとプロトコル テーマ 自動 ライト ダーク | トランスポートと
...をサポートしていない場合 NotImplementedError を送出します。 データグラムトランスポート ¶ DatagramTransport. sendto ( data , addr = None ) ¶ リモートピア addr (トランスポート依存の対象アドレス) にバイト列 data を送信します。 addr が None の場合、データ...endpoint() メソッドに渡されたプロトコルファクトリによって生成されるべきです。 DatagramProtocol. datagram_received ( data , addr ) ¶ データグラムを受信したときに呼び出されます。 data は受信データを含むバイトオブジェクトです。 addr はデータを送信するピ...verProtocol : def connection_made ( self , transport ): self . transport = transport def datagram_received ( self , data , addr ): message = data . decode () print ( 'Received %r from %s ' % ( message , addr )) print ( 'Send %r to %s ' % ( message ,... - https://man.mtool.work/python/3.14/library/asyncio-protocol.html