--------------InterScan_NT_MIME_Boundary
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Thu, 27 Apr 2000, Jerry Lundstr=F6m wrote:
> Q: How can I check (using portable standards) how much is used in the
> buffers (send/recv) of a UNIX socket fd?
>=20
=09Use socket ioctl TIOCINQ to know how much data is avaible in the
sock buffer, take a look into the sunrpc/svcsock.c where NONBLOCKing mode
is used in conjuction with above ioctl
> Q: If that can't be done, how can I make send/write write the entire
> message or not at all (iow, do NOT splitt the message) in NONBLOCKing
> mode?
>=20
> I agree that this may not be the correct list for such questions and
> if you know a better list please let me know.
>=20
> Thanks...
> --
> Jerry.Lundstr=F6m:<jerry.lundstrom@citat.se>:system.developer/programmer
> icq.18682823:mobile+46.739.876053:phone+46.31.7107244:fax+46.31.7107201
> citat.solutions:Kronhusgatan.9:SE-411.05.Gothenburg:Sweden
> www.citat.se/solutions
>=20
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" i=
n
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>=20
--------------InterScan_NT_MIME_Boundary--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/