lkml.org 
[lkml]   [2024]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ip.7: Add not supported by SOCK_STREAM to socket options
    Hi Peter,

    On Sun, Mar 17, 2024 at 12:31:35PM +0100, Peter Seiderer wrote:
    > 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

    Thanks for the help!

    Have a lovely day!
    Alex

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

    --
    <https://www.alejandro-colomar.es/>
    Looking for a remote C programming job at the moment.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2024-05-27 15:52    [W:5.946 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site