Changes in uspace/app/netecho/comm.c [1d6dd2a:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netecho/comm.c
r1d6dd2a r8d2dd7f2 44 44 #include <stdlib.h> 45 45 #include <stdint.h> 46 #include <str.h>47 46 #include <str_error.h> 48 47 … … 72 71 size_t pos; 73 72 size_t now; 74 errno_t rc;73 int rc; 75 74 76 75 size = udp_rmsg_size(rmsg); … … 110 109 } 111 110 112 errno_t comm_open_listen(const char *port_s)111 int comm_open_listen(const char *port_s) 113 112 { 114 113 inet_ep2_t epp; 115 errno_t rc;114 int rc; 116 115 117 116 char *endptr; … … 143 142 } 144 143 145 errno_t comm_open_talkto(const char *hostport)144 int comm_open_talkto(const char *hostport) 146 145 { 147 146 inet_ep2_t epp; 148 147 const char *errmsg; 149 errno_t rc;148 int rc; 150 149 151 150 inet_ep2_init(&epp); … … 183 182 } 184 183 185 errno_t comm_send(void *data, size_t size)184 int comm_send(void *data, size_t size) 186 185 { 187 errno_t rc = udp_assoc_send_msg(assoc, &remote, data, size);186 int rc = udp_assoc_send_msg(assoc, &remote, data, size); 188 187 if (rc != EOK) 189 188 return EIO;
Note:
See TracChangeset
for help on using the changeset viewer.