|
|
@ -95,10 +95,10 @@ TR_socketSend(void * _this, TR_RemoteData data) |
|
|
case ENOMEM: |
|
|
case ENOMEM: |
|
|
// these are fatal and should lead to a shutown |
|
|
// these are fatal and should lead to a shutown |
|
|
// of the whole application... |
|
|
// of the whole application... |
|
|
return 0; |
|
|
|
|
|
|
|
|
return -1; |
|
|
|
|
|
|
|
|
case (EAGAIN|EWOULDBLOCK): |
|
|
case (EAGAIN|EWOULDBLOCK): |
|
|
return -1; |
|
|
|
|
|
|
|
|
return FALSE; |
|
|
|
|
|
|
|
|
case ECONNRESET: |
|
|
case ECONNRESET: |
|
|
// this is a remote close... |
|
|
// this is a remote close... |
|
|
|