Socket interface: Added close() interface.

This commit is contained in:
Gregory Nutt
2017-07-13 12:15:15 -06:00
parent 0c840ed22f
commit 833ee2275d
8 changed files with 760 additions and 628 deletions
+1
View File
@@ -118,6 +118,7 @@ struct sock_intf_s
CODE ssize_t (*si_recvfrom)(FAR struct socket *psock, FAR void *buf,
size_t len, int flags, FAR struct sockaddr *from,
FAR socklen_t *fromlen);
CODE int (*si_close)(FAR struct socket *psock);
};
/* This is the internal representation of a socket reference by a file