Changeset 93 in flair-src
- Timestamp:
- Sep 29, 2016, 10:06:22 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Socket_impl.cpp
r92 r93 177 177 written = 178 178 sendto(fd, src, src_len, 0, (struct sockaddr *)&sock_in, sizeof(sock_in)); 179 180 if (written != (ssize_t)src_len) { 179 if(written==-1) { 180 self->Err("sendto error (%s)\n",strerror(-errno)); 181 } else if (written != (ssize_t)src_len) { 181 182 self->Err("sendto error %i/%i\n",written,src_len); 182 183 }
Note:
See TracChangeset
for help on using the changeset viewer.