Changes in uspace/app/nettest1/nettest.c [0bbef9b:1bfd3d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest.c
r0bbef9b r1bfd3d3 49 49 * @param[in] family The socket address family. 50 50 * @param[in] type The socket type. 51 * @return sEOK on success.52 * @return sOther error codes as defined for the socket() function.51 * @return EOK on success. 52 * @return Other error codes as defined for the socket() function. 53 53 */ 54 54 int sockets_create(int verbose, int *socket_ids, int sockets, int family, sock_type_t type) … … 80 80 * @param[in] socket_ids A field of stored socket identifiers. 81 81 * @param[in] sockets The number of sockets in the field. Should be at most the size of the field. 82 * @return sEOK on success.83 * @return sOther error codes as defined for the closesocket() function.82 * @return EOK on success. 83 * @return Other error codes as defined for the closesocket() function. 84 84 */ 85 85 int sockets_close(int verbose, int *socket_ids, int sockets) … … 114 114 * @param[in] address The destination host address to connect to. 115 115 * @param[in] addrlen The length of the destination address in bytes. 116 * @return sEOK on success.117 * @return sOther error codes as defined for the connect() function.116 * @return EOK on success. 117 * @return Other error codes as defined for the connect() function. 118 118 */ 119 119 int sockets_connect(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen) … … 150 150 * @param[in] size The data size in bytes. 151 151 * @param[in] messages The number of datagrams per socket to be sent. 152 * @return sEOK on success.153 * @return sOther error codes as defined for the sendto() function.152 * @return EOK on success. 153 * @return Other error codes as defined for the sendto() function. 154 154 */ 155 155 int sockets_sendto(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen, char *data, int size, int messages) … … 190 190 * @param[in] size The maximum data size in bytes. 191 191 * @param[in] messages The number of datagrams per socket to be received. 192 * @return sEOK on success.193 * @return sOther error codes as defined for the recvfrom() function.192 * @return EOK on success. 193 * @return Other error codes as defined for the recvfrom() function. 194 194 */ 195 195 int sockets_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages) … … 232 232 * @param[in] size The data size in bytes. 233 233 * @param[in] messages The number of datagrams per socket to be received. 234 * @return sEOK on success.235 * @return sOther error codes as defined for the recvfrom() function.234 * @return EOK on success. 235 * @return Other error codes as defined for the recvfrom() function. 236 236 */ 237 237 int sockets_sendto_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages)
Note:
See TracChangeset
for help on using the changeset viewer.