Jump to content

Adobe Flash Client and LabVIEW server


Recommended Posts

Hi everyone! I've got one important question, on which I can't find the answer.The point is I've got server, made in LabVIEW, and a client, made in Adobe Flash CS5, and they have to send data to each other. But when Adobe Flash Player 10 connects to server, first of all, it sends such string - <policy-file-request/>, and when server gets this string, it must send such called "policy file" - <cross-domain-policy><allow-access-from domain="*" to-ports="*" secure="false"/><site-control permitted-cross-domain-policies="master-only" /></cross-domain-policy>+Chr(0). Then client (Flash Player) dissconnects from the server, and connects again, and sending data goes without any policy file. But unfortunatelly, my server doesn't want to get this string - I've got error "Not enough memory". What I have to do, to make my server get the policy file request, and send answer to client? Please, help me, if you know what to do. The link to Adobe Flash client is below - http://noggit.zs9.ru/net_swf.swf, LabVIEW server also is attached. I don't want to use WebService, because I have to use simple TCP/IP "talking", and LabVIEW VI, from which I have to send data to broser is very difficult, and includes much variables to send.

I'm looking forward for your help!

P.S. Sorry for my English.

Server.vi

Link to comment

I followed your advise, and I appreciate it, but it didn't helped me. When I disconnected "Service name" and read bytes directly, without getting the length of the message, there is no error, but server doesn't see a string message - the length of string is 0. What I have to do?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.