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++

NicheStack Issue!

Altera_Forum
Honored Contributor II
963 Views

Hi, 

I am working on Altera statix FPGA and Nios II. Here in my application I am using NicheStack IP for TCP/IP interface. i am on client side where condition is that i have to continuously send the data and receive occasionally. Means server will receive continuously but may are may not send through whole day. 

 

 

problem is that as soon as i put receive in client it blocks there.  

Plz tell me what is the option for making socket non blocking? 

 

Thanks in advance. 

sblrde
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
250 Views

This is not NicheStack issue. It's just the socket programming.

0 Kudos
Altera_Forum
Honored Contributor II
250 Views

usually fcntl()

0 Kudos
Reply