<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Data portal' and 'Tcp'</title><link>http://forums.lhotka.net/search/SearchResults.aspx?a=0&amp;g=4&amp;o=DateDescending&amp;tag=Data+portal,Tcp&amp;orTags=0</link><description>Search results matching tags 'Data portal' and 'Tcp'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Async Socket Callback in a Broker (Middle Server) influence DataPortal Async BeginFetch Callback</title><link>http://forums.lhotka.net/forums/p/8898/42341.aspx#42341</link><pubDate>Fri, 07 May 2010 21:01:48 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:42341</guid><dc:creator>edreyes77</dc:creator><description>&lt;p&gt;Guys can someone shed some light on a DataPortal/Socket issue please.&lt;/p&gt;
&lt;p&gt;I have a Silverlight client&amp;nbsp;making calls to a .Net Server(Broker) through a DataPortal in Async calls using BeginFetch.&lt;/p&gt;
&lt;p&gt;Within the Broker I use a&amp;nbsp;ObjectFactory where in the Fetch I&amp;nbsp;am using Socket connections(ConnectAsync) and Socket sends(SendAsync) and then my callbacks use Receive.&lt;/p&gt;
&lt;p&gt;I encountered an issue as the callback for the Socket SendAsync in my Broker&amp;nbsp;is calling the the callback in my Silverlight client that is awaiting a response from the Broker Server.&amp;nbsp; Since, I am not exiting the Broker correctly then my return Object value is null.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Can anyone shed any light on what might be causing this?&amp;nbsp; Am I allowed to used sockets calls in a middle tier server -- that has been called from a Silverlight client -- to make calls to an old application server that uses sockets?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>