Re: socket question

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Sun, 29 Sep 1996 14:22:40 +0100 (BST)


On Sat, 28 Sep 1996, Lawrence Chim wrote:

> Sorry if it is not the right place to ask my question.
>
> -------- --------
> |client|------------------|server|
> -------- --------
>
> I know that there is no problem if client write something to the
> socket and the server read it and the server write something to
> the socket and the client read it.
>
> However, if both client and server write to the socket AT THE SAME TIME,
> what will happen? Does the data corrupted or the data can still
> be received by the opposite side properly?
>

Well I think that diagram is not clear, and this would be better:
+---------+ +----------+
| |--------------->| |
| Client |<---------------| Server |
+---------+ +----------+
Ie full duplex (I think;) ...

> lawrence,
>
Bryn

--
PGP key pass phrase forgotten,   \ Overload -- core meltdown sequence 
again :( and I don't care ;)      |            initiated.
                                 / This space is intentionally left   
                                |  blank, apart from this text ;-)
                                 \____________________________________