PyDocs

Nav

Networking and Interprocess Communication

ntohs

socket

functionnot WASI
  • ntohs(x)
Convert a 16-bit unsigned integer from network to host byte order.
Changed in 3.10
  • 3.10: Raises OverflowError if x does not fit in a 16-bit unsigned integer.
0 Examples
No examples for socket/ntohs.
See Also
No see-alsos for socket/ntohs
0 Notes
No notes for ntohs