op_close()
Note: Requires Shared Code functionality
Abstract
Closes a socket.
Syntax
op_close (sockfd)
| Argument | Type | Description |
|---|---|---|
sockfd |
int |
File descriptor of the socket to be closed |
Return Type
void
No return value.
Header
shared_code_support.h
Details
This function closes an open socket. After this function is called, the port can no longer send or receive data.