in reply to Re: My server doesnt get all the data sent by the client application
in thread My server doesnt get all the data sent by the client application

This is the server script that i am running on a windows machine. My application running on a linux box comes and tries to send a request and my server script listens for requests and then should respond back.

I dont know why i dont get the whole request.

Is there a way, i can send the snapshot of the network capture?

Because, when my application sends the request to a real server, it sends it as 2 packets on the same socket.

  • Comment on Re^2: My server doesnt get all the data sent by the client application

Replies are listed 'Best First'.
Re^3: My server doesnt get all the data sent by the client application
by vsespb (Chaplain) on May 10, 2013 at 17:43 UTC
    So, your server is on Windows and client on linux. Try adding
    local($/) = "\012";
    in the beginning of your code. http://perldoc.perl.org/perlport.html#Newlines

      hmm.. didn't work. Does it have to do anything with the "." after "<?xml version="1.0" encoding="UTF-8"?>" in the buffer?

      <?xml version="1.0" encoding="UTF-8"?>.<CIM CIMVERSION="2.0" DTDVERSION="2.0"><MESSAGE ID="155178" PROTOCOLVERSION="1.0"><SIMPLEREQ><IMETHODCALL NAME="EnumerateInstances"><LOCALNAMESPACEPATH><NAMESPACE NAME="root"/><NAMESPACE NAME="brocade1"/></LOCALNAMESPACEPATH><IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="Brocade_Fabric"/></IPARAMVALUE><IPARAMVALUE NAME="LocalOnly"><VALUE>true</VALUE></IPARAMVALUE><IPARAMVALUE NAME="DeepInheritance"><VALUE>false</VALUE></IPARAMVALUE><IPARAMVALUE NAME="IncludeQualifiers"><VALUE>false</VALUE></IPARAMVALUE><IPARAMVALUE NAME="IncludeClassOrigin"><VALUE>true</VALUE></IPARAMVALUE></IMETHODCALL></SIMPLEREQ></MESSAGE></CIM>