summaryrefslogtreecommitdiff
path: root/examples/example.c
AgeCommit message (Collapse)Author
2020-07-10Some Windows quality of life improvments. (#846)Michael Grunder
* Don't try to ignore SIGPIPE in Windows (it doesn't exist). * Add an include to our win32.h compatibility header. * Enable building examples on Travis in Windows. See #831
2018-12-05Allow connections to unix socket in exampleMark Nunberg
To minimize code changes, a simple `u` (or UNIX, Unix, unix, etc -- as long as the first character is u or U) is used as a marker for the 'port' argument. In this case, the hostname is interpreted to be the path to the unix socket.
2015-10-05fix snprintf format stringSergey Polovko
2013-07-11example.c: it is now possible to specify server ip/port.antirez
This makes possible to use the example with IPv6 addresses and/or with a different Redis instance than 127.0.0.1:6379.
2013-07-10Emphasize size_t length for %b formattingWolfgang Richter
Closes #121.
2013-07-10Update example.cRafael Zanella
Added a call to redisFree() Closes #148.
2013-07-10Move examples into their own folderAaron Bedra
Closes #166.