9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] port of NetPipe to plan 9 (tcp only)
@ 2007-08-17 17:39 ron minnich
  2007-08-21 12:21 ` roger peppe
  0 siblings, 1 reply; 2+ messages in thread
From: ron minnich @ 2007-08-17 17:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

on 9grid.net in http://9grid.net/magic/webls?dir=/rminnich/src you can
see NP.tar, a port of netpipe(http://www.scl.ameslab.gov/netpipe/).
Only tcp supported at present.

to use,
tar extract
cd to netpipewhatever
mk all

It's ugly code but the original is not exactly pretty.

Fun quiz: Why, in When, should you do this:
f = ((float)nsec()) * 1e-9
instead of this:
f = ((float)time(nil));

have fun

ron


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] port of NetPipe to plan 9 (tcp only)
  2007-08-17 17:39 [9fans] port of NetPipe to plan 9 (tcp only) ron minnich
@ 2007-08-21 12:21 ` roger peppe
  0 siblings, 0 replies; 2+ messages in thread
From: roger peppe @ 2007-08-21 12:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Fun quiz: Why, in When, should you do this:
> f = ((float)nsec()) * 1e-9
> instead of this:
> f = ((float)time(nil));

erm, because it's more accurate?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-21 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-17 17:39 [9fans] port of NetPipe to plan 9 (tcp only) ron minnich
2007-08-21 12:21 ` roger peppe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).