devp2p / org.apache.tuweni.devp2p.v5 / UdpConnector / send

send

abstract suspend fun send(address: InetSocketAddress, message: UdpMessage, destNodeId: Bytes, handshakeParams: HandshakeInitParameters? = null): Unit (source)

Sends udp message by socket address

Parameters

address - receiver address

message - message to send

destNodeId - destination node identifier

handshakeParams - optional parameter to create handshake