We have issue with linux kernel (CentOs 6.6) need your help. We have media processing program with handling call by RTP/UDP/IP packet. When it run along time (1-3 month) then the program can't send UDP packet to outside on some port. After deep analysis we see that our program can call the socket function to send pack with return success but the packet didn't send outside. The problems occurs one some UDP port not all. We try to write simple program to simulate on error kernel.
1. A program with send UDP packet via UDP socket, can't receive from peer side
2. A program with send UDP packet via raw socket (will bypass the udp stack layer), can receive from peer side.
I attached two simple programs. Please help us for this case. Thanks and Best Regards
Can't send UDP at linux network stack
Can't send UDP at linux network stack
- Attachments
-
- test_udp.c
- (5.82 KiB) Downloaded 159 times
-
- test_raw.c
- (4.57 KiB) Downloaded 133 times