or "My First Socket Program"
First of all, I know there is another forum for these kinds of questions, but they seem to be visited by a subset of ETO members, so I want to get as large of an audiance as possible. With that said:
I am developing a system that acquires data at medium-high speed and bridges to a standard 10/100 Ethernet to transfer the data to a host computer. The system has a single Ethernet connection, phy, MAC, etc. Right now, I have the sockets accepting commands from the host for running board diagnostics and executing simlpe commands. The application only accepts 32 Byte cmmands from the host. But, I want to stream the high-speed data and use abitrarily long packtes ( up to the 1500 byte ethernet limit ) So my question is this: Is the correct way to do this to open a different socket on a different port for the high speed data and different program thread for capturing and processing? The seems to be the only way to do it, but as I'm a socket programing neophyte, I'm not sure if I'm missing something????
Thanks
OH, and BTW, the RTOS is UC/OSII, and the IP stack is the Niche stack, if that helps.
First of all, I know there is another forum for these kinds of questions, but they seem to be visited by a subset of ETO members, so I want to get as large of an audiance as possible. With that said:
I am developing a system that acquires data at medium-high speed and bridges to a standard 10/100 Ethernet to transfer the data to a host computer. The system has a single Ethernet connection, phy, MAC, etc. Right now, I have the sockets accepting commands from the host for running board diagnostics and executing simlpe commands. The application only accepts 32 Byte cmmands from the host. But, I want to stream the high-speed data and use abitrarily long packtes ( up to the 1500 byte ethernet limit ) So my question is this: Is the correct way to do this to open a different socket on a different port for the high speed data and different program thread for capturing and processing? The seems to be the only way to do it, but as I'm a socket programing neophyte, I'm not sure if I'm missing something????
Thanks
OH, and BTW, the RTOS is UC/OSII, and the IP stack is the Niche stack, if that helps.
Last edited: