Socket not sending data.

I am new to Flex and I am trying to use the Socket class using v4 beta of flex to send data to a .NET server written in C#.
I can make the connect to the server ok using the flex client built as an air application but I cannot send any data.
I do not get any exceptions thrown.
I have written a Java client and it can send data using sockets to the server without any problems which means the server is ok.
The server is running on the same box as the client which is a Windows XP system.
Has anyone any ideas?

Something like Wireshark (www.wireshark.org) can be useful in troubleshooting these sorts of issues. It will let you see when the data is actually sent and you can examine the packet to tell whether the client or the server is at fault for the garbled string.

Similar Messages

  • A Power User Can Not Send Data  - BPC Release 7.5.112.07 MS

    Hi BPC Community,
    We have a group of users who are able to send data to locked dimensions. We added a new power user and this person can not send data to locked dimensions (see attached screen-shot). The person is checked box as a "leader" in the Teams responsibility.
    Any suggestions?
    Thanks. Barry

    Hi
    Options
    • All = any user with member access write privilege
    • Owner = only users assigned as owner with member access write privilege
    • Mgr = Owner of parent dimension member is manager of child dimension member
    • Locked = no user regardless of authorization.
    Controlled By: Determines who can select the work status code
    • Both = owner of the specific member ID and the owner of the parent to the specific member ID
    • Owner = owner of the specific member ID
    • Mgr = owner of the parent to the specific member ID.
    also go through below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2064bb40-ea48-2e10-069c-cc6878a0f1cc?QuickLink=index&…
    https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0CEIQFjAE&url=https%3A%2F%2Fhelp.sa…
    Hope this will help you.
    sushant

  • Workflow IPC Action not sending data

    I am trying to pass enterprise data from CAD to an in-house application with the IPC action in Desktop WorkFlow Admin. We are on UCCX 9.0.2 with Premium seats. At the moment I have the IPC action configured to send the data to 127.0.0.1:8888 and I have a program listening on that port for any data. The action is tied to a Task button in CAD, when I click it no data is received in the program listening to that port. In the CAD debugs, it seems to believe it is sending something though.
    2014-10-27 18:04:39:737 DEBUG [0x22f8] MainFrm.cpp[1932] CMainFrame::OnUserdefined3: MF1932 User clicked TASK3 button
    2014-10-27 18:04:39:738 DEBUG [0x22f8] AppearanceEventWnd.cpp[2246] CAppearanceEventWnd::DoActions: BEGIN
    2014-10-27 18:04:39:738 DEBUG [0x22f8] AppearanceEventWnd.cpp[2592] CAppearanceEventWnd::GatherInformation: End
    2014-10-27 18:04:39:738 DEBUG [0x22f8] AppearanceEventWnd.cpp[2293] CAppearanceEventWnd::DoActions: Executing action IPCAction
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[691] CIPCAction::SubstituteDataFields: IPC0691: Start of SubstituteDataFields IPC Action SendStart.
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[781] CIPCAction::SubstituteDataFields: IPC0781: End of SubstituteDataFields IPC Action SendStart :
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[691] CIPCAction::SubstituteDataFields: IPC0691: Start of SubstituteDataFields IPC Action SendStart.
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[781] CIPCAction::SubstituteDataFields: IPC0781: End of SubstituteDataFields IPC Action SendStart :
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[263] CIPCAction::Execute: 0263 CIPCAction::Execute: Sending <ANI=&PlayerNum=&Start=10> to IPAddress <127.0.0.1> port <8888>.
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[659] CIPCAction::sendIpc: IPC0659: sent 24 bytes for IPC action SendStart
    2014-10-27 18:04:39:738 DEBUG [0x22f8] IPCAction.cpp[675] CIPCAction::sendIpc: IPC0675: Successfully closed IPCAction socket.
    Not only is no data received but TCPview and wireshark don't catch any activity either. Is there some other area that has to be configured before CAD is allowed to send data via the IPC action?
    Thanks for any input.

    I have used netcat and a custom application thrown together in visual studio to listen to a specified port and show any data that is received. They both work, we have tested them thoroughly. We are on UCCX 9.0.2 with Premium seats. The want to use IPC to send call info like Calling#, AgentID, PlayerAccount, Cal_duration etc. to a custom application that will query multiple databases to display the customer info all in one place. IPC would be the simplest and most efficient way to send this small amount of data. Problem is, the data doesn't appear to be leaving the CAD application during the IPC action.
    Thanks for the response!

  • Error not send data a database of oracle please

    I cannot send data from a variable a the database of oracle.
    variables they are = unot,dost,trest but it does not recognize its values......
    it does not insert anything in the fields of the data base
    this code:
    con = DriverManager.getConnection(url,"ora1", "oracle");
    stmt = con.createStatement();
    String uprs = "insert into anexo (cod_ane,codigo,desc_anexo)
    values(" + unot + "," + dost + "," + trest +")";
    stmt.executeUpdate(uprs);
    this error:
    SQLException: ORA-00936: missing expression

    Are they text fields? Try surrounding them with quotes:
    String uprs = "insert into anexo (cod_ane,codigo,desc_anexo)
    values('" + unot + "','" + dost + "','" + trest +"')";Try displaying uprs before the executeUpdate() and make sure it's really valid SQL.

  • ICloud enabled apps not sending data to iCloud

    I have many iCloud enabled apps, however only some of them will show up in the documents and data section under iCloud (Infinity Blade 2, Galaxy on Fire 2, Pocket God, W.E.L.D.E.R., Doodle Jump, Pocket God Journey to Uranus, and The Creeps!). However, other iCloud enabled apps are not in this section (Cut the Rope, Cut the Rope Experiments, Slice it!, Where's my Water?, and Qvoid). Why are these apps not sending there data to iCloud? They say they support iCloud, and these apps have been proven to work with iCloud, but I cannot get them to work.
    P.S. Documents and data is ON!!!

    None at all.
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Bpc 7.5 - not sending data on a specific application

    Hi I use SAP BPC 7.5 SP7 patch 1 with Microsoft Sql Server 2008.
    I moved my AppSet from a server 32bit to a server 64bit.
    On 32bit server everything works fine.
    On 64bit server (64bit configurations written in BPC installation guide applied + no error in Server Manager > DIagnostic): I can't send data on a specific application I have.
    On 64bit server: I precessed all dimensions and all applications and then I even optimize. Nothing change.
    I have to applications: A and B.
    On Application A I can send data correctly.
    On application B in my Input schedules when I send data: everything seems to work fine but afer data refresh on my sheet the value disappear and nothing is written into FactWB table. No error displayed.
    Those input scheules are the same I have and working on 32 bit server.
    No errors into Windows event viewer so... what can I check or do more? How can I fix it?
    Edited by: Francesco Andolfi on Feb 10, 2012 7:56 PM

    Hi Francesco,
    have you tried modify application on B?
    have tried if you can send data through a new simple input schedule?
    Kind regards
    Roberto
    Edited by: Roberto Vidotti on Feb 10, 2012 8:35 PM

  • IPad not sending data

    My ipad is happy to receive track info from Logic Pro, but will not send it. This includes play/pause buttons and fader info. Moving faders in Logic moves them on the iPad, but not vice versa. Am I missing something?

    Try resetting your iPad. Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot and try again.
    What are you trying to mail? Could your mail be too large? (some mail programs cap out at 10-25 megs)
    Are you on the internet?
    Are you on a hotspot? Sometimes  hotspots will not mix well with certain mail providers and your mail simply will not work on the hotspot.
    Try to go into the settings and delete the mail account, then add it back and see if it works.
    Beyond that, all we can do is give general suggestions to a very general question. If you have more specific info (such as the mail provider, any error messages etc) it can help people here give you something beyond generic suggesions.

  • ABAP Proxy does not send data to XI system.

    I have a very simple program to test an ABAP Proxy:
    REPORT  Z_TEST_PERSON_OB.
    DATA prxy TYPE REF TO Z996CO_PERSON_OB2.
    CREATE OBJECT prxy.
    DATA person TYPE Z996PERSON_MT  .
    *TRY.
    person-person_mt-first_name = 'Ken and Kenneth'.
    person-person_mt-Series = 'The Fast Show'.
    person-person_mt-motto = 'Ooh, suit you Sir!'.
    CALL METHOD prxy->execute_asynchronous
    EXPORTING
    output = person.
    commit work.
    I removed any exception handling to see if it would dump. Nothing. Seems to work fine, but no data appears in the XI Integration Engine monitor. I checked the scenario in XI and tested it; again, seems to work fine.
    Could I have missed something in setting up the system? Any pointers highly appreciated.
    BR,
    Tony.

    Try the Message Monitoring -> Messages from component 'Proxy Runtime <...>'.
    That's where I found my Messages back (Status: To Be Delivered...)
    If this is the case, probably your Proxy Runtime does send the messages to the Integration Engine.
    Check the queues:
    Transaction SXMB_ADM on the Business system (the system that sends the Proxy)
    Integration Engine > Administration > Manage Queues
    All queues should be checked
    Click ‘Register Queues’. Status bar should display a ‘Success message’.
    Click ‘Activate Queues’. Status bar should display a ‘Success message’.
    If it still does not work, maybe the is no connection between Integration Builder and Runtime Workbench.
    Check SM59 on your ECC-business system (the system that sends the Proxy). It should have the Connection INTEGRATION_DIRECTORY_HMI (type H). If not, this is the problem.
    Create a new connection INTEGRATION_DIRECTORY_HMI, type H.
    Tab Technical settings:
    Target Host is your XI-host
    Service No. 5xx00 (xx is the instance number of your XI-system)
    Path Prefix is "/dir/hmi_cache_refresh_service/ext" (without quotes)
    Tab Logon & Security
    Logon Procedure is "Basic Authentication"
    Logon using XIISUSER (or PIISUSER)
    Tab special Options
    Specify timeout: set to 900 msec.
    Compression Status should be 'inactive'
    Compressed response: No
    Accept Cookies: Yes (all)
    Save configuration and test connection. Popup about cookies appears. Check the "Accept All Further Cookies"option.
    The response should have HTTP/1.1 200 OK in the first line of the response header.
    Now your Proxy Runtime should be able to connect the Integration Engine.
    Greetings,  Frank

  • Submit button on Adobe Interactive form does not send data back to ABAP

    The integration of my ABAP View and Adobe works fine getting data into the form. The form is interactive and I am able to change the data. I am using ZCI and the XML Context. I display the FirstName attribute both on the ABAP View, and the Adobe Form. When I press the SUBMIT button the first time, it disables that button, but the ABAP View is not updated. I have an ONACTION event, but it doesn't get triggered at all.
    Here are my specs:
    Adobe Reader 8.1.1. Local
    Adobe LiveCycle Designer 8.01.3250.1.491864
    NetWeaver 7.0 SP19
    HR Support Pack 48 and Enhancement Pack 2

    Hi all,
    I assume the ZCI script included in the form (800.20070410093956.383622.376748 ) is too old (I guess it's from SP13 or14).
    In general, I propose the following to analyze/fix these kind of problems (Web Dynpro ABAP only):
    1. Check the tracefile (available from SAP NetWeaver 700 SP19): Add "&sap-wd-clientDebug=X" to the application URL and open the trace by typing <CTRL><ALT><SHIFT>T (see note 999998 too):
    -> Watch for an entry "Got a message from Adobe Reader: zciReady 1: 2: 3:". If this line doesn't appear => ZCI script too old, go on with step 2
    -> Watch for an entry "Got a message from Adobe Reader: zciVersion 1: 800....". That's the version of the ZCI script included in the form
    -> Watch for entries containing "sendDataToServer" and "responseFromServer": If you can't find these entries, something went wrong transferring the form data to the ABAP server: Watch out for entries containing "Error", there might be a network problem.
    2. Execute report FP_PDF_TEST_00 to find out the used ADS version: The corresponding ADS version of SP19 is 800.20090130093518.519793 or 800.20090608122643.560369 (look at the second part of the version string. It's a timestamp: The ZCI script included in the form is from April 2007, the ADS version of SP19 is from January/June 2009!
    -> Update the ADS or patch the ADS (see notes 999998, 1229392 and 956074)
    3. optional step: Have a look at note 999998, section "related notes" (this is the complete list of available notes for Web Dynpro ABAP Interactive Forms integration): Install all notes available for your release/SP - or even better: Update SAP NetWeaver (SAP_BASIS) to the latest available SP
    4. Update the ZCI script of the form using transaction SFP_ZCI_UPDATE
    5. Repeat step 1, I'm pretty sure that it will work now!
    Regards,
    Ralf

  • IPhoto not sending data to Canon i965

    I was printing photos happily from iPhoto 6 on my Canon i965 when it suddenly started shooting out blank sheets of photo paper. The data from iPhoto was not transmitting across (no blue line to say it's reading it). Checked ink tanks, print head alignment, re-booted umpteen times. Waited for tech support from son, in the meantime the next day tried one more time in desperation and ... it worked! ... for two photos only, then started shooting out blank sheets again. The Canon prints all other documents OK. What can be the trouble please? I've been printing out wonderful photos for months without any fuss until now.
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.5)   Airport

    Hi.. Welcome to the Palm forums.  If I am understanding you correctly you have synced with the replacement 755p and created a new user which has no data in it.  All of your data is in palm desktop but a different user.  Actually this is a fairly simple fix.  Go into palm desktop.  Select the user with you data.  Go to the left column select datebook or calendar then go to file and export, select a directory to export to (I recommend desktop), name it and insure bottom left for range all is selected.  continue this process for all your data.  Then change to the new user (the current one for the replacement 755p with no data).  Then reverse the process, select calendar/datebook and import.  Find the file you previously exported and import it and you should now have your calendar data in the new user.  Continue this process till you have all your data in the new user and sync which should pull all the data into your replacement 755p.  Hope that helps.  
    Post relates to: Centro (Sprint)

  • Using Swing how can we create socket and send data thru TCP/IP on the socke

    Hi All,
    Can anyone tell the link or answer to me about the Socket programming using Swing and data get & post onto the socket.
    Thanx & Regard
    Ashu

    swing is nothing to do with socket programing, you need to code using core java and API of net
    so please go through this link [http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html]

  • Server Socket does not read data input stream

    Hi all,
    I am very newbie to Java Network programming with sockets and multi-threading.
    But I am obliged to develop a chat system written in Applets which can be placed on the website and used by visitors who come to my website.
    In order to understand this, I have tested a basic web chat program I downloaded from the Internet which use sockets and multi-threadings. The program work fine, no bugs at all at both compilation and run time. I noticed that all three streams for Client side (i.e. first one is input stream used receiving data from User; the second one is socket input stream used for receiving data from Server socket, and the third is socket output stream used for writing data to server socket) were established. And the same, two socket streams (input & output) for Server side were also connected when running program giving right port number and IP address of the server.
    The problem is both server and client sockets do not read data using the following stream classes:
    1. DataStreamInput: I use input.readUTF() method
    2. or BufferedReader: I use input.readLine() method
    The example of the codes are below:
    private BufferedReader input = null;
    private PrintWriter output = null;
    private Socket socket = null;
    public void open() throws IOException
    {  input = new BufferedReader(new
    InputStreamReader(socket.getInputStream()));
    System.out.println("Server socket input stream was created, and");
    output = new PrintWriter(socket.getOutputStream());
    System.out.println("Server socket output stream was created");
    public void run()
    {  System.out.println("Server Thread " + clientPort + " running.");
    while (true)
    {  try
    System.out.println("Server is reading data from Client, wait...");
    String fromClient = input.readLine();
    System.out.println("Server received a message on " + clientPort + ".");
    catch(IOException ioe)
    {  System.out.println(clientPort + " ERROR reading: " + ioe.getMessage());
    server.remove(clientPort);
    stop();
    The problem is at the line: String fromClient = input.readLine(); in the run() method? What is wrong with the codes above?
    Note: I also try to use original codes which use readUTF() method in DataStreamInput class instead using readLine() in BufferedReader. Both methods dont read data from inputstream socket?
    I very appreciate any help/advice from experienced developers.
    Best regards

    Hi,
    Yes. The readLine() method hangs! After the test, the execuation of the program is stopped at the line of readLine() method; it does not pass it?
    There is no problem with writing to Server socket. After the test, the program pass through flush() method. Here is the code for writing to sever socket within ChatClient (client side socket) class:
    private BufferedReader input = null;
    private PrintWriter           output = null;
    public ChatClient(String serverName, int serverPort)
    {  System.out.println("Establishing connection. Please wait ...");
    try
    {  socket = new Socket(serverName, serverPort);
    System.out.println("Connected: " + socket);
    start();
    catch(UnknownHostException uhe)
    {  System.out.println("Host unknown: " + uhe.getMessage()); }
    catch(IOException ioe)
    {  System.out.println("Unexpected exception: " + ioe.getMessage()); }
    public void start() throws IOException
    {  input   = new BufferedReader (new
                             InputStreamReader(System.in));
    System.out.println("Client User input stream was created,");
    output = new PrintWriter(socket.getOutputStream());
    System.out.println("Client Socket output stream was established, and");
    if (thread == null)
    {  client = new ChatClientThread(this, socket);
    thread = new Thread(this);
    thread.start();
    public void run()
         while (thread != null) {
         String fromUser;
              try{
                   while((fromUser = input.readLine())!= null)
                   System.out.println("Client wasreading a data from User, and");
    output.println(fromUser);
         output.flush();
         System.out.println("Client has written a data to Server");
    catch(IOException ioe)
    {  System.out.println("Sending to server error: " + ioe.getMessage());
    stop();
    etc.
    Here is a piece of codes for reading data from the Client Socket in the ChatServer Class (Server Side socket):
    public void run()
    {  System.out.println("Server Thread " + clientPort + " running.");
    while (true)
    {  try
    {  //server.handle(clientPort, input.readLine());
    System.out.println("Server is reading data from Client, wait...");
    String fromUser = input.readLine();
    //while((fromUser = input.readLine()) != null)
         System.out.println("Server received a message on " + clientPort + ".");
    catch(IOException ioe)
    {  System.out.println(clientPort + " ERROR reading: " + ioe.getMessage());
    server.remove(clientPort);
    stop();
    etc. Please advice why the readLine() method hangs; does not read data from the input stream received from the CLIENT?

  • Adobe captivate data not sending at the end of webinar. Is the adobe server still down?

    Adobe captivate data not sending at the end of webinar. Reads "unknown error." Is the adobe server still down? This has been ongoing all of july 2014.

    So the engineer came and, of course, everything was working ok. He did fit some kind of RF filter on my main socket, and 'changed the pair' on one of the outside cables. Since then, I've only had a noisy line once, and seem to have been connected for 3 days solid, which is a record!
    I've switched back to my BT Home hub 3, which guavas me more stats. The line has previously given me up to 6mb/s, now only getting 1.6.
    Do you think, now the line seems more stable, with the stats below I should be able to maintain a higher speed now?
    Thanks
    Line state: Connected
    Connection time: 3 days, 02:19:39
    Downstream: 1.601 Mbps
    Upstream: 444.9 Kbps
    ADSL Settings
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.3 Annex A
    Latency type: Interleaved
    Noise margin (Down/Up): 17.7 dB / 22.6 dB
    Line attenuation (Down/Up): 44.8 dB / 27.0 dB
    Output power (Down/Up): 18.6 dBm / 12.6 dBm
    FEC Events (Down/Up): 3144673 / 0
    CRC Events (Down/Up): 14434 / 38
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 111873 / 10
    Error Seconds (Local/Remote): 1011 / 4

  • I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &T cellular data plan?

    I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &amp;T cellular data plan?

    I have a 1st gen iPhone that I just updated the software to 2.0.2
    Now whenever I press the mail icon it goes to the mail app for about 4 seconds, does nothing, no loading of folders, old messages, nothing.
    Then it reverts back to the home screen. Tried restarting, haven't tried restoring, thought I'd look here first.
    Anyone???

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

Maybe you are looking for

  • Problem when mapping  model attribute to dropdownbyindex

    HI I am mapping model attribute ( this is mapped to Model field of RFC ) to DropDownbyIndex. Once i call BAPI the executed list of values populates into dropdown but it doesn't show first value, instead it puts one extra space in dropdown ( 1 blank b

  • Hostname in terminal different to that of sharing prefs

    Hi, i have searched these forums but am unable to find a clear answer. i have a fresh install of tiger 10.4 with the updates added to 10.4.5. i am using pppoe to connect to the interent in my sharing prefs pannel my computer name is set to random.tes

  • How To Connect WRT54GS Wirelessly

    I have a WRT54GS router that I want to setup wirelessly with my Windows XP desktop that only has a wireless adapter installed. There is no ethernet port on the pc. I have looked at the Stickys and read the FAQ but still haven't found an answer that c

  • HT204291 No picture on AirPlay. Only audio

    I use a sony Bravia tv and apple tv and an iPad. I have a video playing on the iPad. I see the apple tv icon. I get the audio but no picture on the tv. The tv shows the  apple tv menus while I listen to my video streaming.  Any ideas?

  • Setting file permission policies? Help!

    I'm developing a module that generates reports of data from a database. This module gives the user the oportunity to either preview the generated report, save the report to the local file system or print directlly to a system printer. The application