using NICs or sockets?
-
I've an application (with VC++6)that I would to do it run on severals network segment(my appliction is based on ARP protocol, so it work on one segment ),for this I have two solutions: - make my appliction as client sever, so I install it on sevral segment (servers), this instance are launched from one machine(client) and the result is communicted to it,by usin sockets. the pb is that my application consume a high lot of resurces, (because it treat all netwok traffic ), so I must dedicate one machine per application. if I have 5 segment,I must dedicate 5 machines!. In addition, as my appliction cosume high lot of resurces there is many system crash. For this, the following solution is: -use several Network Card, each one is bound to a segment. and to launch my appliction one a segment i select the appropriate card-by the function PacketGetAdapterNames()- the results are displayed one my screen, if there is any pb in the system i solve it directly. What do you suggest?
-
I've an application (with VC++6)that I would to do it run on severals network segment(my appliction is based on ARP protocol, so it work on one segment ),for this I have two solutions: - make my appliction as client sever, so I install it on sevral segment (servers), this instance are launched from one machine(client) and the result is communicted to it,by usin sockets. the pb is that my application consume a high lot of resurces, (because it treat all netwok traffic ), so I must dedicate one machine per application. if I have 5 segment,I must dedicate 5 machines!. In addition, as my appliction cosume high lot of resurces there is many system crash. For this, the following solution is: -use several Network Card, each one is bound to a segment. and to launch my appliction one a segment i select the appropriate card-by the function PacketGetAdapterNames()- the results are displayed one my screen, if there is any pb in the system i solve it directly. What do you suggest?
I honestly didn't understand half of what you wrote due to malformed language. Could you insteand of vague language perhaps try to explain exactly what you want to do, and maybe someone would dare to answer? :-)
-
I've an application (with VC++6)that I would to do it run on severals network segment(my appliction is based on ARP protocol, so it work on one segment ),for this I have two solutions: - make my appliction as client sever, so I install it on sevral segment (servers), this instance are launched from one machine(client) and the result is communicted to it,by usin sockets. the pb is that my application consume a high lot of resurces, (because it treat all netwok traffic ), so I must dedicate one machine per application. if I have 5 segment,I must dedicate 5 machines!. In addition, as my appliction cosume high lot of resurces there is many system crash. For this, the following solution is: -use several Network Card, each one is bound to a segment. and to launch my appliction one a segment i select the appropriate card-by the function PacketGetAdapterNames()- the results are displayed one my screen, if there is any pb in the system i solve it directly. What do you suggest?
If I'm understanding properly, you have a network monitor program of some sort that consumes a lot of system (?) or network (?) resources. You want to know whether to dedicate 5 machines, each running the application, or run the application on one machine with 5 network interfaces. The answer depends on the problem: If the application is consuming system resources, you need to run on multiple machines. If it's consuming network card resources but the machine still has processor cycles left, then add multiple NICS to one machine.