Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rump_allserver Add an example for a server listening...
details: https://anonhg.NetBSD.org/src/rev/f6106afbf7c8
branches: trunk
changeset: 759674:f6106afbf7c8
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Dec 14 19:52:14 2010 +0000
description:
Add an example for a server listening on a tcp port.
also, bump date to avoid problems with wizd
diffstat:
usr.bin/rump_allserver/rump_allserver.1 | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 9ee607bbbf98 -r f6106afbf7c8 usr.bin/rump_allserver/rump_allserver.1
--- a/usr.bin/rump_allserver/rump_allserver.1 Tue Dec 14 19:08:22 2010 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.1 Tue Dec 14 19:52:14 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rump_allserver.1,v 1.3 2010/12/14 16:40:05 pooka Exp $
+.\" $NetBSD: rump_allserver.1,v 1.4 2010/12/14 19:52:14 pooka Exp $
.\"
.\" Copyright (c) 2010 Antti Kantee. All rights reserved.
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 13, 2010
+.Dd December 14, 2010
.Dt RUMP_SERVER 1
.Os
.Sh NAME
@@ -136,6 +136,11 @@
.Bd -literal -offset indent
$ rump_allserver -d key=/dev/dk,hostpath=dk.img,size=1g unix://sock
.Ed
+.Pp
+Start a server which listens on INADDR_ANY port 3755
+.Bd -literal -offset indent
+$ rump_server tcp://0:3755/
+.Ed
.Sh SEE ALSO
.Xr rump.halt 1 ,
.Xr dlopen 3 ,
Home |
Main Index |
Thread Index |
Old Index