(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/node42.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-mactcp.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macspeech.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/genindex.html| ]]
|
Previous: 2.10.2 TCP Status Objects Up: 2.10 mactcp Next: 2.11 macspeech
2.10.3 UDP Stream Objects
Note that, unlike the name suggests, there is nothing stream-like about UDP.
- asr
- The asynchronous service routine to be called on events such as datagram arrival without outstanding
Read call. The asr has a single argument, the event code.
- port
- A read-only member giving the port number of this UDP Stream.
- Read (timeout)
- Read a datagram, waiting at most timeout seconds (-1 is infinite). Return the data.
- Write (host, port, buf)
- Send buf as a datagram to IP-address host, port port.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/node42.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-mactcp.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/module-macspeech.html| ]]
|
Macintosh Library Modules
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/genindex.html| ]]
|
Previous: 2.10.2 TCP Status Objects Up: 2.10 mactcp Next: 2.11 macspeech
See About this document... for information on suggesting changes.