Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

setsock in lwip?

Altera_Forum
Honored Contributor II
938 Views

Hi all, 

 

I have configured NIOS for LAN interface. I am sending data from the processor and receiving it on the other side (where my environment is PowerPC + VxWorks). It is only one-to-one connection. I am required to send data every T seconds as a separate packet. However, in my existing program, the packets of separate intervals get combined and arrive at the receiving end in a combined format. 

 

Somebody suggested me to use 'setsock' option to ensure that packets don't get combined. Is this supported in lwip? 

 

Or is there any other way to ensure my packets don't get combined? But all this without switching from TCP/IP to UDP. 

 

Thanx.
0 Kudos
0 Replies
Reply