libsimpleioUDP4_send Method |
Send a UDP datagram.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void UDP4_send(
int fd,
int host,
int port,
byte[] buf,
int bufsize,
int flags,
out int count,
out int error
)
Parameters
- fd Int32
- File descriptor.
- host Int32
- Destination IPv4 host address.
- port Int32
- Destination UDP port number.
- buf Byte
- Source buffer.
- bufsize Int32
- Source buffer size.
- flags Int32
- Flags for the Linux sendto() system call.
- count Int32
- Number of bytes actually sent.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also