Click or drag to resize

libsimpleioUDP4_receive Method

Receive a UDP datagram.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static void UDP4_receive(
	int fd,
	out int host,
	out int port,
	byte[] buf,
	int bufsize,
	int flags,
	out int count,
	out int error
)

Parameters

fd  Int32
File descriptor.
host  Int32
Source IPv4 host address.
port  Int32
Source UDP port number.
buf  Byte
Destination buffer.
bufsize  Int32
Destination buffer size.
flags  Int32
Flags for the Linux recvfrom() system call.
count  Int32
Number of bytes actually received.
error  Int32
Error code. Zero upon success or an errno value upon failure.
See Also