I have been trying to increase the maximum allowed size for a message
when
using unix domain sockets without any success...

Whenever I send anything
larger than 2048, it fails with EMSGSIZE. I looked
at multiple sysctls and no
one seems to be related to unix domain sockets. From
getsockopt the maximum
sizes should be 9k for recv and 40k for sending...

To show my point, I
created a small program that creates a server/client socket
and attempts to
send data between them. Whenever I reach 2049, it fails with
"message too
long"...

Test output:
http://pastebin.com/870008

Sample code example:
http://pastebin.com/870005


*I am using OpenBSD 3.9 Generic..
*Sorry for
using pastebin, but this new yahoo mail is terrible to paste stuff...

Thanks,
Daniel





__________________________________________________
Fale com seus
amigos  de graga com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/

Reply via email to