well... just because I wanted to do it myself :) (laziness?... i'm not a good programer then ;). never mind, i'm now using NNTPClient.pm, thanks anyway.
"Daniel Gardner" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED].; > Monday, March 04, 2002, 12:28:44 AM, Hernan Freschi wrote: > > > I already did, but I dont understand it,... it uses objects and I don't know > > them. > > i just took a look, and it seems to send a \015\012 > > i was assuming when you said \r\f below it was a typo and > you meant \r\n, if that's not the case then try \015\012 > > just out of interest, why can you not use NNTPClient.pm? > it's only one file... > > > > > > "Daniel Gardner" <[EMAIL PROTECTED]> escribió en el mensaje > > news:[EMAIL PROTECTED].; > >> > >> Sunday, March 03, 2002, 1:11:39 AM, Hernan Freschi wrote: > >> > I wrote a little script to get the newsgroup list from a newsserver. It > >> > opens a socket, connects to it, writes "LIST\n" and does while > > (<SOCKET>) > >> > 'till /^\./. > >> > The problem is that, it works only with some servers. On others, it just > >> > keeps waiting for input (looks like). For example, it works on > >> > nntp.perl.org, but not on news.microsoft.com. > >> > I tried \r\f instead of \n but it doesn't work either. > >> > News:NNTPClient is NOT an option (or any other module for the matter). > >> > >> > Can anyone help me? Thank you. > >> > >> > >> how about getting the module and looking at how they do it? > >> > > > > -- > Best Regards, > Daniel [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]