From b6c04e07af6e634cd257673afb52ac6f08e000c9 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 14 Dec 2010 19:52:14 +0000 Subject: [PATCH] Add an example for a server listening on a tcp port. also, bump date to avoid problems with wizd --- usr.bin/rump_allserver/rump_allserver.1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/usr.bin/rump_allserver/rump_allserver.1 b/usr.bin/rump_allserver/rump_allserver.1 index b601af7f9599..6058d86c341b 100644 --- a/usr.bin/rump_allserver/rump_allserver.1 +++ b/usr.bin/rump_allserver/rump_allserver.1 @@ -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 @@ in the rump kernel. .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 ,