mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: Alejandro Colomar <alx@kernel.org>
Cc: Oliver Crumrine <ozlinuxc@gmail.com>,
	linux-kernel@vger.kernel.org, linux-man@vger.kernel.org
Subject: Re: [PATCH] ip.7: Add not supported by SOCK_STREAM to socket options
Date: Sun, 17 Mar 2024 12:31:35 +0100	[thread overview]
Message-ID: <20240317123135.24993051@gmx.net> (raw)
In-Reply-To: <ZehrtwSDQV-X7BXV@debian>

On Wed, 6 Mar 2024 14:12:23 +0100, Alejandro Colomar <alx@kernel.org> wrote:

> On Wed, Mar 06, 2024 at 08:02:10AM -0500, Oliver Crumrine wrote:
> > Hi Alex,
>
> Hi Oliver,
>
> > Type into netcat, not the program I sent.
> > My program is the server and prints out whatever it recieves,
> > along with some other stuff that lets you know which options
> > are supported.
>
> Nothing either.
>
> $ date; nc localhost 8888 -u | ts
> Wed Mar  6 14:09:38 CET 2024
> foo
> $ echo $?
> 0

Same here, but with nc forced to IPv4

	$ nc localhost 8888  -u -4
	a

And in the other window:

	$ ./a.out
cmsg recieved
data read: a
byte = 02

Regards,
Peter

>
>
> $ cc testDgramSocketServer.c
> $ date; ./a.out | ts
> Wed Mar  6 14:09:05 CET 2024
> ^C
> $
>
>
> Have a lovely day!
> Alex
>


  parent reply	other threads:[~2024-03-17 11:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-02 18:19 Oliver Crumrine
2024-03-04 16:15 ` Alejandro Colomar
2024-03-05 19:31   ` Oliver Crumrine
2024-03-06 10:50     ` Alejandro Colomar
2024-03-06 10:58     ` Alejandro Colomar
2024-03-06 13:02       ` Oliver Crumrine
2024-03-06 13:12         ` Alejandro Colomar
     [not found]           ` <CAK1VsR3MsyphK+=rA7XcEigiSd6J_-QsVW+8hH1fU9xmRY3nGQ@mail.gmail.com>
2024-03-13 18:27             ` Oliver Crumrine
2024-03-13 22:35               ` Alejandro Colomar
2024-03-16 19:33               ` Alejandro Colomar
2024-03-16 18:41                 ` Oliver Crumrine
2024-03-17  2:02                   ` Alejandro Colomar
2024-03-17  9:02                     ` Oliver Crumrine
2024-03-17 13:55                       ` Alejandro Colomar
2024-03-17 11:31           ` Peter Seiderer [this message]
2024-03-17 18:27             ` Alejandro Colomar
2024-03-17 13:55 Oliver Crumrine
2024-03-17 18:28 ` Alejandro Colomar

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=20240317123135.24993051@gmx.net \
    --to=ps.report@gmx.net \
    --cc=alx@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=ozlinuxc@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®