All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott McNutt <smcnutt@psyent.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] README.NetConsole question
Date: Thu, 15 Mar 2007 09:26:16 -0400	[thread overview]
Message-ID: <45F94978.5090408@psyent.com> (raw)
In-Reply-To: <m26492pt7g.fsf@sowhat.denx.de>

Hi Igor & Detlev,

>> As the "man nc" states about -l option, "It
>> is an error to use this option in conjunction with the -p".
> 
> Huh!  Where exactly does it say so?  I cannot even find "error" in the
> manpage to my nc (1.10-32 on a Debian system).

On my FC5 system, (nc-1.84-3.2) the netcat manpage does make
such a statement:

>  -l  Used to specify that nc should listen for an incoming connection
>      rather than initiate a connection to a remote host.  It is an
>      error to use this option in conjunction with the -p, -s, or -z
>      options.  Additionally, any timeouts specified with the -w option
>      are ignored.

Note that it does not define an option parameter in the manpage
documentation for the option ... but the "CLIENT/SERVER MODEL"
section of the manpage gives an example:

>  It is quite simple to build a very basic client/server model using nc.
>  On one console, start nc listening on a specific port for a connection.
>  For example:
> 
>        $ nc -l 1234

I'm not sure when or why the option differences started
between your two versions of netcat -- but they do apparently
exist.

That said, you may want to use the following if your version
complains about the -l and -p options being used together:

    $ nc -u -l 6666

Regards,
--Scott

  reply	other threads:[~2007-03-15 13:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 11:55 [U-Boot-Users] README.NetConsole question Igor Marnat
2007-03-15 12:49 ` Detlev Zundel
2007-03-15 13:26   ` Scott McNutt [this message]
2007-03-15 14:01     ` Detlev Zundel
2007-03-15 14:41       ` Scott McNutt
2007-03-16  5:13         ` [U-Boot-Users] [PATCH] README.NetConsole Igor Marnat
2007-03-16 13:11           ` Scott McNutt
2007-03-16 20:13             ` Wolfgang Denk
2007-03-19  6:24               ` Igor Marnat
2007-03-19 16:02                 ` Ben Warren
2007-03-21  6:55                   ` Igor Marnat
2007-03-15 13:57   ` [U-Boot-Users] README.NetConsole question Igor Marnat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F94978.5090408@psyent.com \
    --to=smcnutt@psyent.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.