Changeset 9452 in ntrip
- Timestamp:
- Jun 7, 2021, 9:54:19 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ntripserver/ntripserver.c
r9451 r9452 1706 1706 fprintf(stderr, "Control connection read error\n"); 1707 1707 return; 1708 }1709 }1710 else if ((nBufferBytes) && (outmode == TCPIP)) {1711 int i;1712 if ((i = send(sock, buffer, (size_t) nBufferBytes, MSG_DONTWAIT)) != nBufferBytes) {1713 if (i < 0) {1714 if (errno != EAGAIN) {1715 perror("WARNING: could not send data to IP server and port");1716 return;1717 }1718 } else if (i) {1719 memmove(buffer, buffer + i, (size_t) (nBufferBytes - i));1720 nBufferBytes -= i;1721 }1722 } else {1723 nBufferBytes = 0;1724 1708 } 1725 1709 }
Note:
See TracChangeset
for help on using the changeset viewer.