Platform SDK: Windows Sockets

dnet_eof

The dnet_eof identifier tests a DECnet socket for an end-of-file condition.

int WSAAPI dnet_eof(
  SOCKET s
);
Parameter Description
s Specifies DECnet socket to test.

Return Values

If the connection is still active (either in a running or connected state), it returns zero. If the connection is inactive, a one is returned.