-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: February 2012
linux bash: login vs non-login shell
I always had confusion about login vs non-login shell and today decided to clear this up. Here is what I have understood. Please refer to the following site for more explanation. Reference: http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/profile.html When a user starts The shell program /bin/bash (hereafter referred … Continue reading
Posted in Uncategorized
Tagged bash, difference, interactive, linux, login, non-login, shell
2 Comments
FFMPEG stops receiving multicast stream after group membership lost
Recently I came across an issue under CENTOS 5.7 kernel 2.6.18 regarding multicast group membership. I was using ffmpeg 0.10 to receive udp stream over multicast sockets. There happened some disruption in the network and ffmpeg stopped receiving any incoming … Continue reading
Checking multicast group membership
Following code can be used to check multicast group member under Linux. This code is only for ipv4, but can be extended for ipv6. Note: I have used netstat source as a reference to write this code. #define PATH_PROCNET_IGMP “/proc/net/igmp” … Continue reading