def UDP.send_bytes_to

Base · base.bend:436

import Base
436# The datagram's bytes as they are (0..255), one List cell each: no UTF-8
437# encoding, so a binary protocol's datagram goes out as written. A value
438# past 255 fails with EINVAL before anything is sent.
439def UDP.send_bytes_to(sock: Socket, host: String, port: U32, data: List<&2, U32>) ->
440  IO(Socket & Result<&1, &1, (U32 & String) & List<&2, U32>, Unit>):
441  import "./effs/udp_send_to.c"
442  import "./effs/udp_send_to.js"

Uses (8)

Used by (0)

No other definition uses this definition.