Add an example for a server listening on a tcp port.

also, bump date to avoid problems with wizd
This commit is contained in:
pooka 2010-12-14 19:52:14 +00:00
parent 91ed45ab3f
commit b6c04e07af
1 changed files with 7 additions and 2 deletions

View File

@ -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 ,