Re: Sockets class question - sending TCP data
- From: Jesse Houwing <jesse.houwing@xxxxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 21:37:03 +0200
D. Patrick wrote:
I need to duplicate the functionality of a java applet, and how it connects
to a remote server. But, I don't have the protocol information or the java
source code which was written years ago. So, I used a packet sniffer and
saw the protocol (TCP), the port, IP address, etc. All is good. I tried 2
different versions of .NET code to duplicate the requests to the remote
server. Again, I used the packet sniffer and my packets seemed identical to
those coming from the java program. The problem is that the java program
gets responses back from the remote server, but my code doesn't. It is not
a listening problem, because I am determing the responses by looking at the
packet sniffer. I've tried 2 completely different bits of code, written
differently, and the problem is the same. Again, the transmit side looks
identical to the java program, and so I can't begin to understand why the
responses from the remote server shouldn't be identical. I mean if I send X
to the server, and the java code sends X, the remote server shouldn't be
able to tell whether it is my code or the java code, right?
Any thoughts? Anyone seen anything like this before where transmits are
good but responses are non-existing or empty? Is there some special switch
or something that makes the packets different on the outbound side in a way
a packet sniffer wouldn't notice.
You can always decompile the Java class files with some luck and try to find the routines used.
http://members.fortunecity.com/neshkov/dj.html
Jesse
.
- Follow-Ups:
- Re: Sockets class question - sending TCP data
- From: D. Patrick
- Re: Sockets class question - sending TCP data
- References:
- Sockets class question - sending TCP data
- From: D. Patrick
- Sockets class question - sending TCP data
- Prev by Date: Re: Crystal Reports, C# and a random 100% CPU lockup
- Next by Date: Re: How do I know if its compiled for release?
- Previous by thread: Re: Sockets class question - sending TCP data
- Next by thread: Re: Sockets class question - sending TCP data
- Index(es):
Relevant Pages
|