aboutsummaryrefslogtreecommitdiff
path: root/src/socket.c
AgeCommit message (Collapse)Author
2017-03-18Modify the code to use nonblocking socketsOskari Timperi
2017-02-18Add timeout param to MqttClientRunOnce()Oskari Timperi
Also change SocketSelect() to take timeout in milliseconds.
2017-02-16Use functions from socket.c in socketstream.cOskari Timperi
Makes the socket includes and platform specific defines centralized in one place.
2017-02-16MSVC/Windows cleanups to socket.cOskari Timperi
2017-02-15Initialize Winsock on WindowsOskari Timperi
2017-02-15Make the code compile using MinGWOskari Timperi
- implemented GetCurrentTime() for Windows - had to rename GetCurrentTime() to MqttGetCurrentTime() because of name clashes - setup headers correctly
2017-02-15Add SocketSelect() to wrap select()Oskari Timperi
This also makes all the necessary includes for sockets centralized to `sockets.c`.
2017-02-14More includes to socket.cOskari Timperi
Try to make the library compile under -std=c99 -pedantic
2017-02-12Add all the stuffOskari Timperi