Are the fathers listening on the same port for the children? Or does each child connect to the father on a different port?
On Dec 10, 2007 9:51 PM, oscarcs <[EMAIL PROTECTED]> wrote: > > I must develop a system made of nodes in a tree layout. Each node > (computer) > has many children and only one father. > > Each node sends TCP messages (using a propietary protocol) to the father, > an > the father itself must send the messages to the grandfather and so on. > > I have been using MINA to solve many of the communications concerns, but > now > i have some doubts. > > My questions are: > > 1. Is there a way to simulate at the lowest posible level, many sockets > over > a single socket?. I mean, using a single socket to send to the grandfather > all the messages comming from the children, so i can reuse the procotol > logic in all the levels. > > 2. If not, another aproach would be replicate all the child socktets in > all > the levels, so at the upper level i will end with a single machine with > too > many sockets. How much is the overhead (in reources or CPU) of using > multiple sockets vs. single socket?. Is there any limit? > > Sorry for my english. > > Thanks in advance. > -- > View this message in context: > http://www.nabble.com/Many-sockets-over-single-socket-tp14266741s16868p14266741.html > Sent from the Apache MINA Support Forum mailing list archive at Nabble.com > . > > -- -------------------------------- The adjuration to be "normal" seems shockingly repellent to me; I see neither hope nor comfort in sinking to that low level. I think it is ignorance that makes people think of abnormality only with horror and allows them to remain undismayed at the proximity of "normal" to average and mediocre. For surely anyone who achieves anything is, essentially, abnormal. Dr. Karl Menninger