Click here to Skip to main content
15,792,397 members
Home / Discussions / Linux Programming
   

Linux Programming

 
QuestionUsing bluetooth connection asynchronously - C++ Pin
Vaclav_7-Mar-20 9:49
Vaclav_7-Mar-20 9:49 
QuestionReturn indicates failure , errno indicates status? Pin
Vaclav_6-Mar-20 7:06
Vaclav_6-Mar-20 7:06 
AnswerRe: Return indicates failure , errno indicates status? Pin
k50546-Mar-20 7:34
mvek50546-Mar-20 7:34 
GeneralRe: Return indicates failure , errno indicates status? Pin
Vaclav_6-Mar-20 9:18
Vaclav_6-Mar-20 9:18 
GeneralRe: Return indicates failure , errno indicates status? Pin
Richard MacCutchan6-Mar-20 22:42
mveRichard MacCutchan6-Mar-20 22:42 
GeneralRe: Return indicates failure , errno indicates status? Pin
k50547-Mar-20 5:55
mvek50547-Mar-20 5:55 
GeneralRe: Return indicates failure , errno indicates status? Pin
Vaclav_7-Mar-20 7:01
Vaclav_7-Mar-20 7:01 
GeneralRe: Return indicates failure , errno indicates status? Pin
Richard MacCutchan8-Mar-20 2:29
mveRichard MacCutchan8-Mar-20 2:29 
Vaclav_ wrote:
check the return value first , then let perror describe the state.
No, don't rely on perror alone. The most important piece of information is the actual error code. And, as I already suggested, you should study the RFC documents to get a thorough understanding of the protocols you are trying to use.
GeneralRe: Return indicates failure , errno indicates status? Pin
Member 1330167921-Dec-20 0:40
Member 1330167921-Dec-20 0:40 
GeneralRe: Return indicates failure , errno indicates status? Pin
Richard MacCutchan21-Dec-20 0:48
mveRichard MacCutchan21-Dec-20 0:48 
AnswerRe: Return indicates failure , errno indicates status? Pin
Member 1330167921-Dec-20 0:40
Member 1330167921-Dec-20 0:40 
QuestionUsing ba2str fails - why ? Pin
Vaclav_4-Mar-20 5:59
Vaclav_4-Mar-20 5:59 
AnswerRe: Using ba2str fails - why ? Pin
ZurdoDev4-Mar-20 6:14
professionalZurdoDev4-Mar-20 6:14 
GeneralRe: Using ba2str fails - why ? Pin
Vaclav_4-Mar-20 6:36
Vaclav_4-Mar-20 6:36 
AnswerRe: Using ba2str fails - why ? Pin
ZurdoDev4-Mar-20 6:48
professionalZurdoDev4-Mar-20 6:48 
GeneralRe: Using ba2str fails - why ? Pin
k50544-Mar-20 6:54
mvek50544-Mar-20 6:54 
AnswerRe: Using ba2str fails - why ? Pin
k50544-Mar-20 6:20
mvek50544-Mar-20 6:20 
AnswerRe: Using ba2str fails - why ? Pin
Richard MacCutchan4-Mar-20 6:34
mveRichard MacCutchan4-Mar-20 6:34 
GeneralRe: Using ba2str fails - why ? Pin
Vaclav_4-Mar-20 6:46
Vaclav_4-Mar-20 6:46 
GeneralRe: Using ba2str fails - why ? Pin
Richard MacCutchan4-Mar-20 7:16
mveRichard MacCutchan4-Mar-20 7:16 
AnswerSOLVED Re: Using ba2str fails - why ? Pin
Vaclav_4-Mar-20 7:33
Vaclav_4-Mar-20 7:33 
QuestionCan "cast looses precision " error be optioned out ? Pin
Vaclav_3-Mar-20 5:10
Vaclav_3-Mar-20 5:10 
AnswerRe: Can "cast looses precision " error be optioned out ? Pin
Richard MacCutchan3-Mar-20 5:43
mveRichard MacCutchan3-Mar-20 5:43 
AnswerRe: Can "cast looses precision " error be optioned out ? Pin
Daniel Pfeffer3-Mar-20 5:52
professionalDaniel Pfeffer3-Mar-20 5:52 
AnswerRe: Can "cast looses precision " error be optioned out ? Pin
k50543-Mar-20 6:52
mvek50543-Mar-20 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.