Changeset 338

Show
Ignore:
Timestamp:
11/30/99 17:46:59 (14 years ago)
Author:
ucaccsp
Message:

Ignore connection refused errors in IPv4 UDP send.

Location:
common/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/MODS

    r337 r338  
    182182          and the same for the signed varients. 
    183183        - Implement encryption in the RTP code 
     184        - Ignore connection refused errors in IPv4 UDP send. 
    184185 
    185186 
  • common/trunk/src/net_udp.c

    r329 r338  
    284284        s_in.sin_port        = htons(s->tx_port); 
    285285        if ((ret = sendto(s->fd, buffer, buflen, 0, (struct sockaddr *) &s_in, sizeof(s_in))) < 0) { 
    286                 socket_error("udp_send4"); 
     286                if (errno != ECONNREFUSED) { 
     287                        socket_error("recvfrom"); 
     288                } 
    287289        } 
    288290        return ret;