blockingUDP: error checking

This commit is contained in:
Michael Davidsaver
2015-12-11 12:26:09 -05:00
parent bcc16bdf00
commit b4048c3bfd
2 changed files with 2 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ inline int sendto(int s, const char *buf, size_t len, int flags, const struct so
(serverFlag ? 0x40 : 0x00) | ((EPICS_BYTE_ORDER == EPICS_ENDIAN_BIG) ? 0x80 : 0x00))
{
PVACCESS_REFCOUNT_MONITOR_CONSTRUCT(blockingUDPTransport);
assert(_responseHandler.get());
osiSocklen_t sockLen = sizeof(sockaddr);
// read the actual socket info