Community
Participate
Working Groups
I've come across a case on a Symbian host where TCP and AF_INET sockets can't be used (at least not without a lot of hassle), so I'm forced to use Unix domain (AF_UNIX) sockets. Other than not supporting TCP_NODELAY and SO_KEEPALIVE options, it's entirely the same as the current TCP channel. I propose "UNIX:/normalized/unix-like/path/to/socket" as the TCF peer URL, and adding this support into channel.c and channel_tcp.c. Does this sound good? If so, patch attached.
Created attachment 184486 [details] proposed patch, against SVN head
Created attachment 184487 [details] proposed patch, against SVN head Oops, updated -- I had a bit of cruft in there.
Urk, I noticed channel_tcp.c:set_peer_addr() wasn't updated for this. Just a second... :)
Created attachment 184520 [details] updated patch I forgot Unix domain sockets are not available everywhere. I think this patch should be okay (adding an ENABLE_Unix_Domain config.h flag, only for Symbian and Unix hosts). If someone can validate it builds on Un*x and VxWorks, I think it'll be good.
cc'ing Eugene. Doug said bugs should go here now, but I'm not sure the inbox is set up yet.
(In reply to comment #5) > cc'ing Eugene. Doug said bugs should go here now, but I'm not sure the inbox > is set up yet. Yes are right - the inbox is not setup. I was not aware of the patch. I will test it today.
Looks good. I have committed the patch. Thanks!
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3