summaryrefslogtreecommitdiff
path: root/net.c
AgeCommit message (Collapse)Author
2022-11-20Introduce dummy as second XMPP implementationxengineering
It is currently evaluated if it is worth a trial to drop libstrophe as a dependency and use a raw TCP connection and a XML library like expat to implement the XMPP part. This would have the following advantages: - fewer dependencies - learning more about XMPP itself and less about libstrophe - slower, but maybe easier implementation (XMPP doc is far more readable / extensive) Because of these reasons the `limox_sdl2` version was switched to a dummy XMPP implementation `xmpp.c` which acts now as a test field for XMPP hacking.
2022-10-07Remove sm_state variablexengineering
Not really used because this is just in case you want a new connection object (currently not the case).
2022-10-07Handle case of message to send while offlinexengineering
2022-10-06Remove global variable logxengineering
2022-10-06Remove free statements with unclear effectsxengineering
It is currently not clear when the libstrophe user has to free certain memory. Because invalid pointers are worse than memory leaks (at the current scope) these calls were removed.
2022-10-05Remove bad xmpp_free() usagexengineering
This seems to reduce these random crashes.
2022-10-05Add debug output for connection errorsxengineering
2022-10-05Add FIXME for important error handlingxengineering
2022-10-04Remove unistd.hxengineering
2022-10-04Remove rewrite of net.cxengineering
Incremental improvements seem to be better.
2022-09-19Prepare net.c rewrite with symlink based feature togglexengineering
2022-09-09Free message content in message_handlerxengineering
2022-08-21Implement message sendingxengineering
2022-08-20Rename limox.{c,h} to net.{c,h}xengineering