📜  SOCK_STREAM - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:31.210000             🧑  作者: Mango

代码示例1
| 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      |