]> git.ipfire.org Git - fireperf.git/commit
server: Add basic implementation that accepts connections
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Jan 2021 16:53:46 +0000 (16:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Jan 2021 16:53:46 +0000 (16:53 +0000)
commita98d66cd6c476dff546b8df5b567f23d11489ad2
treeb8b7ab5bba0283ed04fdd671d40686e006b5bf6e
parent07f030f30df6c1096f08fff3de98fe655aa98fdb
server: Add basic implementation that accepts connections

This creates an asynchronous loop which listens for new connections
opening and which will close connections after the client has closed
them.

This will also read any data that is being received on the sockets and
discard it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/main.h
src/server.c