In fact,UDP is enough for me,I heared that tcpdump and netcat can store and resend the udp packages to get the replay effect,but I don't know how, or is there some better way? I am working on a Linux server and only some basic terminal tools are available :)<br>
<br><div class="gmail_quote">2011/8/31 Emile van Sebille <span dir="ltr"><<a href="mailto:emile@fenx.com">emile@fenx.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 8/31/2011 6:35 AM <a href="mailto:king6cong@gmail.com" target="_blank">king6cong@gmail.com</a> said...<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
   This is a question not specific to Python,but its related somehow,and<br>
I believe I can get some help from your fellow:)<br>
   I am doing my work on a server service program on Linux that<br>
processes the packages sent to the socket it listens.Their is already a<br>
old such service listening on the port doing its job,and<br>
I can't stop the old server service, and I need to get the packages sent<br>
to the old server and send them to my new server service to make sure it<br>
works well .How can I get the package and resent them to my new service?<br>
Is there such a tool or is there some functionality that tools such as<br>
tcpdump already provides?<br>
</blockquote>
<br></div></div>
I recently set up a standby spare fax server on a network that I also needed to test, and was able to tee the source transmissions to both systems.  That may be an option, particularly as it sounds like you've written a consumer of info and are not replying and interacting with the source.<br>
<font color="#888888">
<br>
Emile</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>