On Wed, 30 Jan 2002, Richard B. Johnson wrote:
> But it's already connected.
>
>
> host:
> for (;;) {
> gettimeofday(...);
> write(s, buf, 64);
> read(s, buf, sizeof(buffer));
> gettimeofday(...);
> /* delay is 1.0 ms */
> }
> server is IPPORT_ECHO
You didn't make that explicit in your previous email, and anyway what kind
of resolution can you expect from gettimeofday...
Cheers,
Zwane Mwaikambo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:21 EST