-
July 18th, 2008, 01:47 PM
#9
Ok, the exact message is:
<INFO> Refused Request: Session error: Unsupported function from ipxxxx : xxxxport
This is my function from the push page:
function sendMessage(message)
{
debugger;
ls.sendMessage(message);
}
and I am calling that function from Flex.
When it goes into debug the ls is the LS Engine object. So, that''s not a problem.
I think I need to do something on the server to make it work. Looks like it is the last piece of the puzzle to have my solution working.
Here is my .net code:
DataProviderServer server = new DataProviderServer();
server.Adapter = new SocketToLightStreamer();
MetadataProviderServer serverMeta = new MetadataProviderServer();
serverMeta.Adapter = new Lightstreamer.Adapters.Metadata.LiteralBasedProvid er();
TcpClient reqrepSocket = new TcpClient(host, reqrepPort);
server.RequestStream = reqrepSocket.GetStream();
server.ReplyStream = reqrepSocket.GetStream();
TcpClient notifSocket = new TcpClient(host, notifPort);
server.NotifyStream = notifSocket.GetStream();
server.Start();
I am trying to understand what you are suggesting about both data adapter and meta data adapter working together but still not sure how to do that.
Thanks for your help.
Similar Threads
-
By naitsir in forum Client SDKs
Replies: 7
Last Post: October 2nd, 2012, 10:36 AM
-
By hungtt in forum Adapter SDKs
Replies: 7
Last Post: December 30th, 2010, 03:42 AM
-
By naitsir in forum Client SDKs
Replies: 9
Last Post: October 19th, 2009, 04:02 PM
-
By kanibal210 in forum Client SDKs
Replies: 1
Last Post: September 30th, 2009, 08:36 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:22 PM.
Bookmarks