Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions PosixUdpSocket.sendmsg

1
2
3
4
5
6
7
8
9
module juptune.event.io;

Result sendmsg(
    const const const void[][] scatteredDataToSend, 
    Nullable!(
        IpAddress
    ) target = Nullable(DontCallDestructorT(), true), 
    Duration timeout = zero()
);

Documentation

Sends a single datagram either to the "connected" host, or to a specific host if there's no active "connection".

The addressis converted into an IPv6 address before the send is attempted.

Params

Throws

Asserts that openhas been called first.

Any LinuxError(potentially converted to an IoError) thrown by the sendmsgsyscall.

Returns

A Result