![]() |
Samsung Internal API reference
2.0
|
Support socket routines. More...
Go to the source code of this file.
Typedefs | |
| typedef int | socklen_t |
| A type of width of at least 32 bits representing lengths in socket subsystem. | |
Functions | |
| int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
| Accept a connection on a socket. More... | |
| int | bind (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
| Bind a name to a socket. More... | |
| int | connect (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
| Initiate a connection on a socket. More... | |
| int | getsockopt (int sockfd, int level, int optname, void *optval, socklen_t *optlen) |
| Get options on socket. More... | |
| int | setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
| Set options on socket. More... | |
| int | listen (int sockfd, int backlog) |
| Listen for connections on a socket. More... | |
| int | socket (int socket_family, int socket_type, int protocol) |
| Create endpoint for communication. More... | |
| ssize_t | recv (int sockfd, void *buf, size_t len, int flags) |
| Receive a message from a socket. More... | |
| ssize_t | send (int sockfd, const void *buf, size_t len, int flags) |
| Send a message to a socket. More... | |
| int | socketpair (int socket_family, int socket_type, int protocol, int sv[2]) |
| Create a pair of connected sockets. More... | |
| ssize_t | recvmsg (int sockfd, struct msghdr *msg, int flags) |
| Receive multipple message on a socket. More... | |
| ssize_t | sendmsg (int sockfd, struct msghdr *msg, int flags) |
| Send multipple message on a socket. More... | |
Support socket routines.