UDP.send_to: def of Base Import: import Base Lines 425-429 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=425&end_line=429 import Base # A datagram goes whole or not at all: a failed send hands it back. def UDP.send_to(sock: Socket, host: String, port: U32, data: String) -> IO(Socket & Result<&1, &1, (U32 & String) & String, Unit>): import "./effs/udp_send_to.c" import "./effs/udp_send_to.js" Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit