ECOMM
Linux / POSIXERRORNotableNetworkHIGH confidence

Communication Error on Send

Production Risk

Indicates link-level communication failure during send.

What this means

ECOMM (errno 70) is returned when a communication error occurs during a send operation, typically in RFS or STREAMS contexts.

Why it happens
  1. 1Communication link failure during send
  2. 2RFS send operation failure
  3. 3STREAMS write error
How to reproduce

STREAMS or RFS send when link fails.

trigger — this will error
trigger — this will error
// errno = ECOMM when send fails due to link error

expected output

Communication error on send (ECOMM)

Fix

Reconnect and retry the send

WHEN After ECOMM on a send operation

Reconnect and retry the send
if (errno == ECOMM) {
  // Re-establish the communication channel
  reconnect();
  // Retry the send
  send(sockfd, buf, len, 0);
}

Why this works

ECOMM indicates a link-level failure; the connection must be re-established before retrying.

Sources
Official documentation ↗

Linux Programmer Manual errno(3)

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All Linux / POSIX errors