Socket creation interface.
Socket creation interface.
- Attention
- none
- Parameters
-
| af | [IN] Socket specifies the protocol set. |
| type | [IN] Socket type |
| protocol | [IN] Protocol type |
- Return values
-
| If | the creation is successful, a non-negative value is returned. |
| Otherwise,a | negative value is returned. |