Re: 2 uni-directional TCP connection good?

2009-03-24 Thread Yoshihiro Ota
On Fri, 20 Mar 2009 01:56:56 -0700 Michael David Crawford m...@prgmr.com wrote: Yoshihiro Ota wrote: I saw a program that opens 2 TCP connections. One connection is only used for server to client messaging only and the other connection is used only for client to server messaging.

Re: 2 uni-directional TCP connection good

2009-03-24 Thread Yoshihiro Ota
On Mon, 23 Mar 2009 08:20:20 + (GMT) Robert Watson rwat...@freebsd.org wrote: On Sun, 22 Mar 2009, Yoshihiro Ota wrote: On Fri, 20 Mar 2009, Yoshihiro Ota wrote: 1. With TCP connections, only sender side can detect some communication issues passively if happened. By using two

Re: 2 uni-directional TCP connection good?

2009-03-23 Thread perryh
What I meant was that there were cases when a receiver could not tell weather no data was coming or communication was interrupted. Once connection is established, a route is available between a server and a client. Let's say this route is broken for some reasons, i.e. someone unplugged a

Re: 2 uni-directional TCP connection good

2009-03-23 Thread Robert Watson
On Sun, 22 Mar 2009, Yoshihiro Ota wrote: On Fri, 20 Mar 2009, Yoshihiro Ota wrote: 1. With TCP connections, only sender side can detect some communication issues passively if happened. By using two connections, you lost that ability by your self. I agree on this one. Could you expand a

Re: 2 uni-directional TCP connection good?

2009-03-22 Thread Yoshihiro Ota
On Fri, 20 Mar 2009 13:24:09 + (GMT) Robert Watson rwat...@freebsd.org wrote: On Fri, 20 Mar 2009, Yoshihiro Ota wrote: 1. With TCP connections, only sender side can detect some communication issues passively if happened. By using two connections, you lost that ability by your

2 uni-directional TCP connection good?

2009-03-20 Thread Yoshihiro Ota
Hi forks. I have question on network programming. It will be nice if some could answer. I saw a program that opens 2 TCP connections. One connection is only used for server to client messaging only and the other connection is used only for client to server messaging. First of all, because TCP

Re: 2 uni-directional TCP connection good?

2009-03-20 Thread Michael David Crawford
Yoshihiro Ota wrote: I saw a program that opens 2 TCP connections. One connection is only used for server to client messaging only and the other connection is used only for client to server messaging. 2. He also said that it would also waste network bandwidth. You have a two-way

Re: 2 uni-directional TCP connection good?

2009-03-20 Thread Robert Watson
On Fri, 20 Mar 2009, Yoshihiro Ota wrote: 1. With TCP connections, only sender side can detect some communication issues passively if happened. By using two connections, you lost that ability by your self. I agree on this one. Could you expand a bit on this point? While the connection