I am learning about sockets in Python and came up with
variable = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
I understood the function of this socket.socket and socket.AF_INET but I am curious about socket.SOCK_STREAM. What is its function?