Thread (9 messages) 9 messages, 3 authors, 2024-03-17

Re: [PATCH] ip.7: Add not supported by SOCK_STREAM to socket options

From: Peter Seiderer <hidden>
Date: 2024-03-17 11:31:52
Also in: lkml

On Wed, 6 Mar 2024 14:12:23 +0100, Alejandro Colomar [off-list ref] wrote:
On Wed, Mar 06, 2024 at 08:02:10AM -0500, Oliver Crumrine wrote:
quoted
Hi Alex,
Hi Oliver,
quoted
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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help