home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,739 of 14,669   
   Ersek, Laszlo to guru   
   Re: FInding transport provider using lis   
   16 May 11 14:50:32   
   
   d3242e36   
   From: lacos@caesar.elte.hu   
      
   On Mon, 16 May 2011, guru wrote:   
      
   > HI All   
   >   
   > I am new to these protocol... just need some direction.   
   > This is regarding TLI programming...   
   >   
   > Given a transport provider, we can get listening fd on that provider   
   > using t_open...   
   >   
   > if there anyway by knowing only listening fd, to know to which   
   > tansport provider it is listening ???   
      
   I suggest looking at the "XTI Interfaces" section of   
   . I guess   
   t_getinfo() and/or t_getprotaddr() apply.   
      
   With sockets one would use getsockname(), getpeername(), and getsockopt()   
   with SO_TYPE, I think.   
      
   lacos   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca