Changeset 242

Show
Ignore:
Timestamp:
04/24/07 15:26:57 (2 years ago)
Author:
ludo
Message:

ignore sigpipe in sento

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/server/admin/lrsd.c

    r212 r242  
    410410            //to.sin_port = htons(1001); 
    411411            //inet_aton(inet_ntoa(si_other.sin_addr), &to.sin_addr);         
    412             sendto(s, gBuff, strlen(gBuff)+1, 0
     412            sendto(s, gBuff, strlen(gBuff)+1, MSG_NOSIGNAL
    413413                   (struct sockaddr *) si_other, sizeof(*si_other)); 
    414414        } 
     
    445445         
    446446        sprintf(buf, "%d", wait); 
    447         sendto(s, buf, strlen(buf), 0
     447        sendto(s, buf, strlen(buf), MSG_NOSIGNAL
    448448               (struct sockaddr *) si_other, sizeof(*si_other)); 
    449449