On Tue, Aug 06, 2002 at 12:12:33AM -0400, Dan Merillat wrote:
<> 
> Not at the same time.  While waiting on reply #1, you can't send query #2.

Stop. Take head of ass. Listen:

YOU CAN VERY MUCH SEND QUERY #2 OVER THE SAME CONNECTION WHILE WAITING
FOR REPLY #1. 

What you cannot do is send two messages, in the same direction, over the
same connection, at the same time. Not two queries, two messages. As
soon as the message is received, it is parsed and passed to the
application layer, and then the connection is free to do exactly
whatever it wants. When a message is sent, it is serialized, written to
the pipe, and then the connection is free to do whatever it wants. The
state of the connection is in no way bound to the state of the query.

> How complex is this?  I'm sorry folks, but if you can't grasp the difference
> between pipelined messaging and query/wait/response I'd say it's time to
> get back to the books.

I would tell you to RTFD again, but I am begining to doubt your reading
comprehension.

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to