Hi,
as a developer exactly how we can create tcp/ip stack means through which function call. if you people have any document or source code is present please reply me.
already i gone through qnx.com/developers/docs/6.3.2/ne … ipleStacks here they given how we can use(create) the another instance of stack but i need exactly how it create another instance of tcp/ip stacklike what is the function call that can i use for programing.
Why do you want to create the stack within the code? As a script on bootup, the time your NICs are mounted is when to start the 2nd stack. The most easy version would be to just set up a call to the os ^^
(system(), spawn*(),…)
Hi,
i am simply tell why i required, i want to read the data from one stack and to write into other stack.
situation is like, there is 2 NIC Cards are there i want to measure exactly how much traffic coming to one NIC Card. For exact amount of results i want to read data coming from one Card(stack) and then i want to pass the data to other NIC Card.
if it is confusing just tell me. any one having the idea how to pass the data form one TCP\IP Stack to other stack.
Hello,
I have seen a different usage of multiple stacks. One stack is started as usual, the other with higher priority, something like
on -p39 io-net -i1 -ptcpip timer_pulse_prio=39,rx_pulse_prio=39,prefix=/sock1 -dpcnet pci=1 priority=39
The idea is that urgent operations are performed with the “high priorityâ€
“………….
prefix=/path
Path to prepend to the traditional /dev/socket. This option is useful when running multiple stacks. Clients can use the SOCK environment variable to target a particular stack. For example:
io-net -i1 -ptcpip prefix=/alt
SOCK=/alt ifconfig –a
…………â€