Search found 4 matches

by agecheris
Thu 20. Apr 2017, 10:17
Forum: Linux
Topic: Socket write avoiding No buffer space available
Replies: 6
Views: 13382

Re: Socket write avoiding No buffer space available

Thank you very much for the help. Case closed. I will handle any tx buffer full in my application.
by agecheris
Wed 19. Apr 2017, 20:40
Forum: Linux
Topic: Socket write avoiding No buffer space available
Replies: 6
Views: 13382

Re: Socket write avoiding No buffer space available

With the latest driver I dont get the error, even with txqueuelen=1. But my request remain. I would like to write robust code but I dont know how to get the status of the tx buffer.
by agecheris
Wed 19. Apr 2017, 18:31
Forum: Linux
Topic: Socket write avoiding No buffer space available
Replies: 6
Views: 13382

Re: Socket write avoiding No buffer space available

Hi Stéphane,
Thank you for the reply. Here comes the requested information.
I dont think there is any problem with the Peak related stuff.
I just want to know how the determine the state of the tx buffer.
This is maybe more related to SocketCAN than Peak.

If I increase the tx buffer like this ...
by agecheris
Fri 14. Apr 2017, 14:26
Forum: Linux
Topic: Socket write avoiding No buffer space available
Replies: 6
Views: 13382

Socket write avoiding No buffer space available

Hi,
I am using the PCAN adapter with the 8.1 Linux driver in Ubuntu 16.04. I have implemented SocketCAN support in my application but when writing I get errno=105 "No buffer space available". How can I avoid this?

I have been reading about different calls of setsockopt, ioctl etc but I cannot find ...