[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Off Topic: TCP/IP programming





hi all,

given TCP socket (or other socket),
what is the best way to know how much buffer is available at a given moment
to write date into without blocking the process ( system call ???)

We don't make the file-descriptor non-blocking, just to know in a given moment
the state of the socket buffer.

Thanks in advance
          Eli.