dnet_eof

Description

Test a DECnet socket for an end-of-file condition.

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

Return Values

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