Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

May I use tcp and udp simultaneously within a iniche stack

Altera_Forum
Honored Contributor II
817 Views

May I use tcp and udp simultaneously within a iniche stack? 

 

how to implement? //create two task for each like the simple socket server? 

 

 

thanks a lot for your help!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
84 Views

I have implement two tcp task,and it works well. 

 

next: implement a tcp task and a udp task.
Altera_Forum
Honored Contributor II
84 Views

Sure, you can. 

What's the problem? If you already implemented two tcp tasks, you only need to change one socket from SOCK_STREAM to SOCK_DGRAM
Altera_Forum
Honored Contributor II
84 Views

yes. I change the tcp socket to sock_DGRAM. 

 

and I have implemented 1 tcp task and 1 udp task. and they worked well.
Reply