[ https://issues.apache.org/jira/browse/THRIFT-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343091#comment-15343091 ]
ASF GitHub Bot commented on THRIFT-3859: ---------------------------------------- GitHub user clindsay opened a pull request: https://github.com/apache/thrift/pull/1031 THRIFT-3859: Add support for Unix Domain Sockets to TSocketServer and TSocketTransport Existing behavior for port-based socket transport should be unchanged by this commit. TSocketServer and TSocketTransport have been refactored to support sockets created using either a port or a path. You can merge this pull request into a Git repository by running: $ git pull https://github.com/clindsay/thrift thrift-3859 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1031.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1031 ---- commit 291a05a0ce62f9eb4351e7f61f7d051223e37cba Author: Chris Vasselli <cvasse...@box.com> Date: 2016-06-21T23:45:39Z THRIFT-3859: Add support for Unix Domain Sockets to TSocketServer and TSocketTransport. Existing behavior for port-based socket transport should be unchanged by this commit. TSocketServer and TSocketTransport have been refactored to support sockets created using either a port or a path. ---- > 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)