dmnetdatafd(3dm)

dmNetDataFd - return FD associated with a DMNetConnection

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     dmNetDataFd - return FD associated with a DMNetConnection

SYNOPSIS
     #include <dmedia/dmnet.h>

     int dmNetDataFd(DMNetConnection);

DESCRIPTION
     dmNetDataFd returns a file descriptor associated with the specified
     DMNetConnection. This descriptor is suitable for use by select() to
     signify the availability of incoming data.

DIAGNOSTICS
     dmNetDataFd returns DM_FAILURE if the DMNetConnection was not valid.

NOTE
     Depending on the underlying transport mechanism, the file descriptor
     returned by dmNetDataFd may indicate as ready to read (via select) when a
     complete DMbuffer is ready, or merely when the first part of the data
     that makes up a DMbuffer has arrived on the network connection.  Thus,
     even though the DMNetConnection is ready, dmNetRecv may not return data
     immediately when it is called.

CAVEAT
     The dmNetControFd function is now deprecated.

SEE ALSO
     dmNetOpen(3dm), dmNetListen(3dm), dmNetConnect(3dm), dmNetRecv(3dm),
     select(2)