Sockets class question - sending TCP data
- From: "D. Patrick" <replywithinthegroup@xxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 18:19:58 GMT
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.
.
- Follow-Ups:
- Re: Sockets class question - sending TCP data
- From: Jesse Houwing
- Re: Sockets class question - sending TCP data
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Sockets class question - sending TCP data
- Prev by Date: Re: Databinding to user control
- Next by Date: Re: Singleton & Interfaces
- Previous by thread: Find Objects Bound To DataTable?
- Next by thread: Re: Sockets class question - sending TCP data
- Index(es):
Relevant Pages
|