J
Johan Bernspĺng
Guest
Hi
On a Virtex-II Pro I'm attempting to write a very simple TCP/IP server
application running on the PPC. The goal is that when a client connects
to the server it will wait until the correct command from the client
tells it to send data, so far successful. The problem is that I want the
server to send data streaming until the client tells it to stop, and for
some reason the client won't send the correct ACK to any data packet but
the first one. The acknumber is not updated correctly. I suspect that I
am doing something wrong in my server application. I am able to send
consecutive data packets if (and only if) every packet is acknowledged
by manually sending a packet from the client.
The server only accepts one client at the time, and the connection is
kept alive until the client disconnects it (Yes, I have added that
feature to the TCP state machine of the XilNet library).
Does anyone have similar experience with the XilNet lib? Is it possible
to send streaming data using it?
I will send the source code to anyone interested in giving it a quick look.
--
-----------------------------------------------
Johan Bernspĺng, xjohbex@xfoix.se
Research engineer
Swedish Defence Research Agency - FOI
Division of Command & Control Systems
Department of Electronic Warfare Systems
www.foi.se
Please remove the x's in the email address if
replying to me personally.
-----------------------------------------------
On a Virtex-II Pro I'm attempting to write a very simple TCP/IP server
application running on the PPC. The goal is that when a client connects
to the server it will wait until the correct command from the client
tells it to send data, so far successful. The problem is that I want the
server to send data streaming until the client tells it to stop, and for
some reason the client won't send the correct ACK to any data packet but
the first one. The acknumber is not updated correctly. I suspect that I
am doing something wrong in my server application. I am able to send
consecutive data packets if (and only if) every packet is acknowledged
by manually sending a packet from the client.
The server only accepts one client at the time, and the connection is
kept alive until the client disconnects it (Yes, I have added that
feature to the TCP state machine of the XilNet library).
Does anyone have similar experience with the XilNet lib? Is it possible
to send streaming data using it?
I will send the source code to anyone interested in giving it a quick look.
--
-----------------------------------------------
Johan Bernspĺng, xjohbex@xfoix.se
Research engineer
Swedish Defence Research Agency - FOI
Division of Command & Control Systems
Department of Electronic Warfare Systems
www.foi.se
Please remove the x's in the email address if
replying to me personally.
-----------------------------------------------