<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Local IP and factory shutdown</TITLE>
<META http-equiv=Content-Type content="text/html; charset=Windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>To find my one true external ip address I used <A
href="http://www.showmyip.com/">http://www.showmyip.com/</A> </FONT></DIV>
<DIV><FONT face=Arial size=2>they also have <A
href="http://www.showmyip.com/xml/">http://www.showmyip.com/xml/</A> which
should be very easy to fetch and process with Python.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mandeep.gill@imperial.ac.uk
href="mailto:mandeep.gill@imperial.ac.uk">Gill, Mandeep</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=twisted-python@twistedmatrix.com
href="mailto:twisted-python@twistedmatrix.com">twisted-python@twistedmatrix.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, June 23, 2004 12:35
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Twisted-Python] Local IP and
factory shutdown</DIV>
<DIV><BR></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi,<BR>I'm in the process of finishing a multicasting RTP
streaming media server and client in Twisted but have encountered several
issues that I can't figure out,<BR><BR>Firstly, Is there any way to determine
your own IP address from with Twisted, I've looked around everywhere and can't
find away to achieve this except by setting up a loopback connection and
reading it from the transport - but that only gives 127.0.0.1. Is there any
way to determine all available local IPs?<BR><BR>Also I have a problem in
shutting down Factories - currently I shut them down by calling the doStop
method, which seems to call stopFactory but this is an abstract method used
just for safe user shutdown, right? As far as I can tell, the Factory is still
bound to the reactor, and am I still able to connect to it having called
doStop. How do I stop the protocol from even listening on ports?<BR><BR>Oh
yeah, there seem to be a few bugs in the current wxreactor support, most
notably with any custom dialog boxes - the OK/Cancel return doesn't seem to be
processed on time and causes a wxDateTime assertion error, does it work for
anyone else?<BR><BR>Thanks for any help<BR>Mandeep Gill</FONT> </P>
<P>
<HR>
<P></P>_______________________________________________<BR>Twisted-Python
mailing
list<BR>Twisted-Python@twistedmatrix.com<BR>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<BR></BLOCKQUOTE></BODY></HTML>