Socket module SOCK_STREAM code example
Example 1: SOCK_STREAM
| Address | Socket Type |
| Family | SOCK_DGRAM | SOCK_STREAM |
|-----------|------------|-------------|
| IPX/SPX | SPX | IPX |
| NetBIOS | NetBIOS | n/a |
| IPv4 | UDP | TCP |
| AppleTalk | DDP | ADSP |
| IPv6 | UDP | TCP |
| IrDA | IrLMP | IrTTP |
| Bluetooth | ? | RFCOMM |
Example 2: hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM
ssh.connect("173.15.13.28", username="root", password=passwd)