[ https://issues.apache.org/jira/browse/THRIFT-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343097#comment-15343097 ]
ASF GitHub Bot commented on THRIFT-3859: ---------------------------------------- Github user clindsay commented on the issue: https://github.com/apache/thrift/pull/1031 The diff generated by GitHub makes the change look a little bigger than it actually is. In TSocketServer.m, the `initWithSocket` method is effectively the same as the old `initWithPort` method, but with the socket creation code factored out into `createSocketWithPort`. Additional code has been added to create a socket using a path instead of a port. > Unix Domain Socket Support in Objective-C > ----------------------------------------- > > Key: THRIFT-3859 > URL: https://issues.apache.org/jira/browse/THRIFT-3859 > Project: Thrift > Issue Type: Improvement > Components: Cocoa - Library > Affects Versions: 0.10.0 > Reporter: Chris Vasselli > Priority: Minor > > I would like to be able to use Unix Domain Sockets as the transport to > communicate between different processes on a single machine. There seems to > be support in the C++ and Python libraries (the two other languages used in > my project), but no support in Objective-C. > Proposed server interface: > {{TSocketServer *server = [[TSocketServer alloc] > initWithPath:@"/path/to/pipe" protocolFactory:protocolFactory > processorFactory:processorFactory];}} > Proposed client interface: > {{TSocketTransport *socket = [[TSocketTransport alloc] > initWithPath:@"/path/to/pipe"];}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)