Joris Vink 961a2e3685 Allow apps to override connection handling.
Setting the handle callback allows your application
to take care of network events for the connection.

Look at the connection state and flags to determine
if read/write is possible and go from there.

See kore_connection_handle() for more details.
2015-12-01 20:55:00 +01:00
..
2015-11-27 16:22:50 +01:00
2015-11-27 16:22:50 +01:00
2015-11-27 16:22:50 +01:00

Kore NOHTTP example

Note that this example only works if Kore was built with NOHTTP=1.

Run:

	$ kore run

Test:

	Connect to the server using openssl s_client, you will notice
	that anything sent is submitted back to your client.

	$ openssl s_client -connect 127.0.0.1:8888