Changeset 5a6cc679 in mainline for uspace/app/netecho/comm.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netecho/comm.c
r132ab5d1 r5a6cc679 71 71 size_t pos; 72 72 size_t now; 73 int rc;73 errno_t rc; 74 74 75 75 size = udp_rmsg_size(rmsg); … … 109 109 } 110 110 111 int comm_open_listen(const char *port_s)111 errno_t comm_open_listen(const char *port_s) 112 112 { 113 113 inet_ep2_t epp; 114 int rc;114 errno_t rc; 115 115 116 116 char *endptr; … … 142 142 } 143 143 144 int comm_open_talkto(const char *hostport)144 errno_t comm_open_talkto(const char *hostport) 145 145 { 146 146 inet_ep2_t epp; 147 147 const char *errmsg; 148 int rc;148 errno_t rc; 149 149 150 150 inet_ep2_init(&epp); … … 182 182 } 183 183 184 int comm_send(void *data, size_t size)184 errno_t comm_send(void *data, size_t size) 185 185 { 186 int rc = udp_assoc_send_msg(assoc, &remote, data, size);186 errno_t rc = udp_assoc_send_msg(assoc, &remote, data, size); 187 187 if (rc != EOK) 188 188 return EIO;
Note:
See TracChangeset
for help on using the changeset viewer.