Skip to contentSkip to conversation

get socket backlog limit on unix domain socket

DISCUSSION Artem Germanov 1 participant 1 message Dec 18, 2012

lore
Share & tools
lore
#0 lore raw

Is there any way to get socket backlog limit on unix domain socket? In FreeBSD there is getsockopt() with SO_LISTENQLIMIT, but not in Linux. There is getsockopt() with TCP_INFO that returns such info for tcp socket, but returns 'Not implemented' for UDS. What is the right place to implement such functionality? Is porting SO_LISTENQLIMIT to linux a good idea?

WBR, Artem Germanov.