02-05-2008
Partial Request are coming... please help
Hi All,
We are having the system, where we are using the socket programming (TCP/IP), a system called plugin playing a role in between two system, where its getting the request from system1 and its processing it and re-directing the request after its validation, to system2.
Normally, message sending and receiving are fine. but I between some times, the mediation(plugin) is receiving some partial data, even thought the system1 has delivered the message single time.
The partial data coming in the following fasion
like full data is abc...xyz
here first its receving abcdefgh
second : abcdefghigklmno
third : abcde....s
:
:
finally : abcde..xyz
so i am in confusion until unless the first system, send again, there is no possibility to receive the data again..
so can anyone help me to solve this problem. why the partial data is coming... how to resolve it.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Need to delete line prior to (INSERT/UPDATE/DELETE). In case ' available, then keep that. Pls refet below details.
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test
Output... (4 Replies)
Discussion started by: saurabhbaisakhi
4 Replies
2. Shell Programming and Scripting
Hi there!
New user to UNIX scripting. Had a question I was stuck on.
I've been trying to make a script(for a larger project) that would search a file(lets say playerlist).
the file is already formatted into columns so it may look like
First name(1-10) Last Name(11-20) address (21-30)
... (23 Replies)
Discussion started by: Sagramor
23 Replies
3. Shell Programming and Scripting
Hello, this is probably a simple request but I've been toying with it for a while.
I have a large list of devices and commands that were run with a script, now I have lines such as:
a-router-hostname-C#show ver
I want to print everything up to (and excluding) the # and everything after it... (3 Replies)
Discussion started by: ippy98
3 Replies
4. Shell Programming and Scripting
I have a list of strings in file:
10 10 AAA
120 13 BBBBB
23 11 CCCCC
11 32 DDDDDD
I want to replace first column of the text such as: 10, 129, 23, 11 with 11, 22, 33, 44.
I can do line by line, but just not sure how to replace partial string without... (1 Reply)
Discussion started by: ford99
1 Replies
5. Shell Programming and Scripting
I have this in log file /var/log/maillog
XXX YYY ZZZ :15214 I=:25 AAA BBB CCC
I need awk/sed operation on this, so that it retrieves only the first IP.
cat /var/log/maillog | sed_operation
55.66.77.88 (2 Replies)
Discussion started by: anil510
2 Replies
6. UNIX for Dummies Questions & Answers
Hi I have a question and hope I can get answer here. Thank you in advance.
I have two files:
file1:
aa X
bb Y
cc Z
file2:
cc A
bb B
dd C
aa D
bb E
If the 1st column match in both file1 and file2, the 2nd column in file2 will be replaced by the 2nd column in file1. If there is no... (2 Replies)
Discussion started by: yuejian
2 Replies
7. Shell Programming and Scripting
I am connecting to another server through sftp. I am running one batch script to pull file from another server. sometimes i am receiving partial files. I am using below commands in batch script.
ls -ltr new.txt
mget new.txt
bye
The file is of 1 MB only.In most of the cases , i received... (6 Replies)
Discussion started by: srinath01
6 Replies
8. Shell Programming and Scripting
I posted the incorrect files yesterday and apologize. I also modified the awk script but with no luck. There are two text files in the zip (name.txt and output.txt). I am trying to match $2 in name.txt with $1 in output.txt and if they match then $1 of name.txt is copied to $7 of output.txt. ... (7 Replies)
Discussion started by: cmccabe
7 Replies
9. Shell Programming and Scripting
Hi, I have a tab delimited text file like this one. I need to do a partial match of a particular cell and then replace matches with an empty cell. So here is a sample:
Smith FordMustang ChevroletCamaro
Miller FordFiesta
Jones KiaSorrento
Davis ChevroletCamaro
Johnson ToyotaHighlander
I... (4 Replies)
Discussion started by: mikey11415
4 Replies
LEARN ABOUT DEBIAN
net::httpserver::request
Net::HTTPServer::Request(3pm) User Contributed Perl Documentation Net::HTTPServer::Request(3pm)
NAME
Net::HTTPServer::Request - HTTP request
SYNOPSIS
Net::HTTPServer::Request handles the parsing of a request.
DESCRIPTION
Net::HTTPServer::Request takes a full request, parses it, and then provides a nice OOP interface to pulling out the information you want
from a request.
METHODS
Cookie([cookie])
Returns a hash reference of cookie/value pairs. If you specify a cookie, then it returns the value for that cookie, or undef if it does
not exist.
Env([var])
Returns a hash reference of variable/value pairs. If you specify a variable, then it returns the value for that variable, or undef if it
does not exist.
Header([header])
Returns a hash reference of header/value pairs. If you specify a header, then it returns the value for that header, or undef if it does
not exist.
Method()
Returns the method of the request (GET,POST,etc...)
Path()
Returns the path portion of the URL. Does not include any query strings.
Procotol()
Returns the name and revision that the request came in with.
Query()
Returns the query portion of the URL (if any). You can combine the Path and the Query with a ? to get the real URL that the client
requested.
Request()
Returns the entire request as a string.
Response()
Returns a Net::HTTPServer::Response object with various bits prefilled in. If you have created session via the Session() method, then the
session will already be registered with the response.
Session()
Create a new Net::HTTPServer::Session object. If the cookie value is set, then the previous state values are loaded, otherwise a new
session is started.
URL()
Returns the URL of the request.
AUTHOR
Ryan Eatmon
COPYRIGHT
Copyright (c) 2003-2005 Ryan Eatmon <reatmon@mail.com>. All rights reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-03 Net::HTTPServer::Request(3pm)