Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi, everyone,
Sorry to reply late because I didn't follow this issue for long time. You can take these steps to address this : 1) change the buffer size in ipport.h # define NUMBIGBUFS 600# define NUMLILBUFS 300 /* some maximum packet buffer numbers */# define MAXBIGPKTS 600# define MAXLILPKTS 300# define MAXPACKETS (MAXLILPKTS+MAXBIGPKTS) 2) reset the receiving buffer size (the default size is only 1 K or so) int nRecvBuf=32*1024;//设置为32K setsockopt(s_UdpSock, SOL_SOCKET, SO_RCVBUF,(const char*)&nRecvBuf,sizeof(int)); Generally the problem will be addressed if your udp bandwidth is low. thanks.