Click or drag to resize

libsimpleioTCP4_accept Method

Start TCP server and wait for a single connection.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static void TCP4_accept(
	int host,
	int port,
	out int fd,
	out int error
)

Parameters

host  Int32
IPv4 address, of the interface to listen on. Use 0.0.0.0 to listen on all interfaces.
port  Int32
TCP port number.
fd  Int32
File descriptor.
error  Int32
Error code. Zero upon success or an errno value upon failure.
See Also