[DGD] connect_datagram()

Raymond Jennings shentino at gmail.com
Mon Dec 17 22:43:51 CET 2018


Speaking of the networking package, will there be a way for the upper
layers to know what the remote port is for an inbound connection?

When a remote user is behind NAT this may be useful for tracing.

On Mon, Dec 17, 2018 at 12:38 PM Felix A. Croes <felix at dworkin.nl> wrote:
>
> I've added the kfun connect_datagram().  To use it, you need at least
> one open datagram port accepting connections.
>
>     connect_datagram(0 /* datagram port index */, remote_host, remote_port);
>
> This establishes an outbound datagram connection without handshake (no
> datagrams are actually sent, and in fact it may be impossible to do so).
>
> This completes the replacement of the networking package.  It is also
> likely to be the last new kfun for a while.
>
> Regards,
> Felix Croes
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list