notgiven wrote:
> A mainframe host is sending from a specific port to a PC (an IP
> address / port) using "Raw" TCP/IP. At the end of the first page they
> change from the original sending port to a different port, still
> sending to the same IP address and destination port. The job fails,
> only the first page printing.
> I think it its correct behavior on the part of the receiving system
to
> end the TCP stream when transmission ceases from the original port,
> and assume that the transmission from the new port (same IP address)
> is a new transmission.
>
> Am I incorrect?
>
> Any ideas or suggestions?
The "circuit" is established with the tuple (src addrs, dst addrs, src
port, dst port) and changing any of the elements would require the
establishment of a new circuit/session.
Whether the sender is intending this or not I can't readily see what's
the point. There are protocols that use multiple ports per "connection
session" but whether that should apply here I can't say.
In your present case it seems something is "broken" (ie., obviously
undesired behavior) but what it may be is hard to say. Sounds like the
sender is expecting the receiver to be prepared for port-per-page but
has failed to set it up (or check that receiver has properly set it up)
before transmitting.
This sort of thing is more common with UDP than TCP, ime fwiw
Is this code that previously ran in a different environment and/or with
a different client?
prg