File descriptor is not a socket error.
Source position: sockets.pp line 59
const EsockENOTSOCK = ESysENotSock;