Leigh Wanstead wrote: > > Hi, > > I used default Redhat 8.0 and use following call > > getsockopt (s,SOL_TCP,TCP_INFO, &info, ..) from > http://www.blu.org/pipermail/discuss/2001-June/020145.html. > > And got error "protocol not supported". > > What do I need to do? Do I need to recompile kernel with some special > settings? > > TIA > Leigh > > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Try IPPROTO_TCP instead of SOL_TCP. thanks, Nivedita - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html