Joris Vink
66dd856bdc
and add the echo.py file of course..
2021-05-02 16:08:32 +02:00
Joris Vink
5e84ebdab2
Simplify the echo example, kore can just run the file nowadays.
2021-05-02 16:07:41 +02:00
Joris Vink
4e2ca90095
Move Kore hook functions to kore/hooks.h.
2021-01-11 23:58:26 +01:00
Joris Vink
ce360e15d6
Update examples with latest single binary changes.
...
- Use kore_default_getopt() to let Kore do all argument parsing
for the examples. They don't do any option parsing themselves.
2020-10-08 20:26:11 +02:00
Joris Vink
3b4574d791
Rework pysocket async/await.
...
Attach the events directly to the pysocket data structure instead of
one event per pysocket_op.
Makes the code easier, gives us a good performance boost and reduces
the number of system calls required when doing an await on a socket.
2019-03-13 11:07:15 +01:00
Joris Vink
f4cd70956b
Add an optional timeout to socketop.recv().
2019-02-25 10:35:00 +01:00
Joris Vink
6080bb1c35
echo server example in Python with new async/await.
2018-10-15 20:37:51 +02:00