summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/socket-client.c
Commit message (Collapse)AuthorAgeFilesLines
* Use pulsecore/arpa-inet.h to make arpa/inet.h functionality availableMaarten Bosmans2011-03-191-3/+1
| | | | Automatically use replacement function on platforms (win32) where not all arpa/inet.h is available natively.
* Repair some typosMaarten Bosmans2011-02-171-1/+1
|
* Use <pulsecore/socket.h> instead of <sys/socket.h>Maarten Bosmans2011-02-171-5/+2
| | | | | | | | The check whether POSIX socket.h or WIN32 winsock2.h must be included can be made centrally. The downside is that some functionality of e.g. arpa/inet.h is also implemented in winsock.h, so that some files that don't use socket functions, but do use inet.h functions, must also include pulsecore/socket.h. (as well as arpa/inet.h)
* socket-client: properly handle asyncns failuresJez Austin2010-05-081-1/+2
| | | | | | | | | We fail to detect when people disable IPv6 in there kernels. This patch makes sure we don't ignore this error condition. http://pulseaudio.org/ticket/752 https://bugzilla.mozilla.org/show_bug.cgi?id=533470 http://bugs.freedesktop.org/show_bug.cgi?id=25742
* use cloexec wrappers wherever applicableLennart Poettering2009-10-301-3/+1
|
* socket-client: modernizationsLennart Poettering2009-09-181-36/+24
|
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-081-3/+1
|
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-11/+11
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* Optionally disable IPv6Iain Hibbert2009-02-131-1/+17
| | | | Closes #79
* fix a few compiler warnings on older gccLennart Poettering2008-08-291-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-1/+1
|
* don't use PA_GCC_UNUSED anymoreLennart Poettering2008-08-091-2/+2
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* make use of the new pa_socket_address_is_local() functionLennart Poettering2008-06-161-16/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2533 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-25/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-70/+110
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add a wrapper around close() to work around Windows' ass backwards way ofPierre Ossman2007-02-141-4/+4
| | | | | | | handling sockets. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1429 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-34/+34
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove all occurences of Lennart Poettering2006-08-181-7/+7
| | | | | | | | | | | | pa_logXXX(__FILE__": and replace them by pa_logXXX(" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-191-0/+526
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f