{"action":"created","issue":{"url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/48","labels_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/48/comments","events_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/48/events","html_url":"https://github.com/rdavisau/sockets-for-pcl/pull/48","id":116785733,"number":48,"title":"Connect to Named Service + Timeout","user":{"login":"Sparksteam","id":12566204,"avatar_url":"https://avatars.githubusercontent.com/u/12566204?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparksteam","html_url":"https://github.com/Sparksteam","followers_url":"https://api.github.com/users/Sparksteam/followers","following_url":"https://api.github.com/users/Sparksteam/following{/other_user}","gists_url":"https://api.github.com/users/Sparksteam/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparksteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparksteam/subscriptions","organizations_url":"https://api.github.com/users/Sparksteam/orgs","repos_url":"https://api.github.com/users/Sparksteam/repos","events_url":"https://api.github.com/users/Sparksteam/events{/privacy}","received_events_url":"https://api.github.com/users/Sparksteam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-13T15:08:09Z","updated_at":"2015-11-17T22:21:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/48","html_url":"https://github.com/rdavisau/sockets-for-pcl/pull/48","diff_url":"https://github.com/rdavisau/sockets-for-pcl/pull/48.diff","patch_url":"https://github.com/rdavisau/sockets-for-pcl/pull/48.patch"},"body":"Added another method to connect to a named remote service, i.e. \"http\",\r\nand added support to override the default connect timeout."},"comment":{"url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/comments/157529086","html_url":"https://github.com/rdavisau/sockets-for-pcl/pull/48#issuecomment-157529086","issue_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/48","id":157529086,"user":{"login":"rdavisau","id":7392704,"avatar_url":"https://avatars.githubusercontent.com/u/7392704?v=3","gravatar_id":"","url":"https://api.github.com/users/rdavisau","html_url":"https://github.com/rdavisau","followers_url":"https://api.github.com/users/rdavisau/followers","following_url":"https://api.github.com/users/rdavisau/following{/other_user}","gists_url":"https://api.github.com/users/rdavisau/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavisau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavisau/subscriptions","organizations_url":"https://api.github.com/users/rdavisau/orgs","repos_url":"https://api.github.com/users/rdavisau/repos","events_url":"https://api.github.com/users/rdavisau/events{/privacy}","received_events_url":"https://api.github.com/users/rdavisau/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T22:21:57Z","updated_at":"2015-11-17T22:21:57Z","body":"I see - but to have access to `StreamSocket` class then, I guess you are doing this part from the WinRT project? If you access `TcpSocketClient` from any platform project, you will see it as it is defined in the corresponding sockets-for-pcl platform project. So (for example), if there were a method on the WinRT `TcpSocketClient` that returned `StreamSocket`, it could be used directly from your own WinRT project, even though it is not visible when coding from your PCL. \r\n\r\nAssuming this your use case, I think it would at least be best to make the .NET and WinRT projects to expose backing fields as the underlying type, and remove the exposing of backing type from the PCL API. \r\n\r\nThen, I wonder what information/control items you are accessing on WinRT and whether there are alternative methods to access the same items on .NET? Adding some support for these settings is [something I once had planned](https://github.com/rdavisau/sockets-for-pcl/blob/b4311d54bbc35bdfd698f28113afd5096b556c18/README.md#planned-features) but had not heard much demand for it and wasn't really familiar enough with it to give it a shot. From memory, it seemed like there wasn't much opportunity for rationalising settings across .NET and WinRT because of conflicting capabilities, but I am not sure now."}}