Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [SLE] Sockets
  • From: raffo@xxxxxxxxxxxxxxxxx (Rafael E. Herrera)
  • Date: Tue, 17 Aug 1999 23:57:19 -0400
  • Message-id: <37BA2F1F.4FF84908@xxxxxxxxxxxxxxxxx>



Jeff Smelser wrote:
>
> Hopefully some of you have done this.
>
> Anyway, I am writting a nntp binary grabber basically. I got the socket
> stuff working, but I can never give it more than one command, or the
> second one fails. For Example:
>
> I open the nntp server, received the welcome message. Then I send list.
> Giving me ALL the groups.. Got the . and got out of my while loop. Send
> the QUIT command.. And I receive, bad command from the NNTP server.. No
> matter what command I give it, the second command fails!

This doesn't make sense. Can you post some pseudo code on what you are
trying to do? What are you supposed to send to your server? What are
the
possible responses? I've done a little with sockets, but only of the
stream
type.


--
Rafael Herrera
Laboratory for Computational Neuroscience
University of Pittsburgh
http://www.neuronet.pitt.edu/~raffo


< Previous Next >
References