<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a question:</FONT></DIV>
<DIV><FONT face=Arial size=2>How do I append a socket object into a list 
"manually" without appending the variable which the socket object is stored in, 
but just the socket object itself if I somehow 
know the address(pretend like)? </FONT></DIV>
<DIV><FONT face=Arial size=2>I dont "need" this in any way for my code, but I 
would like to know, for a better understanding of network 
programming</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I know how to do it like </FONT></DIV>
<DIV><FONT face=Arial size=2>"socketobject, addr = sock.accept()".</FONT></DIV>
<DIV><FONT face=Arial size=2>Then append socketobject to that list</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But if we just pretend like I know that 
the socketobject is <socket._socketobject object at 0x00D5A4E0>, how can I 
append this socket._socketobject to the list? </FONT></DIV>
<DIV><FONT face=Arial size=2>like list.append(<socket._socketobject object at 
0x00D5A4E0>) ??? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thats what I want to know, not that I need it, but 
I'm curious to know how python handles/work with the socket objects in 
general</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any answer or explanation is 
greatly appreciated!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Dag Hansteen</FONT></DIV></BODY></HTML>