Click here to Skip to main content
15,913,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IP Stack Pin
CPallini12-Oct-10 2:54
mveCPallini12-Oct-10 2:54 
GeneralRe: IP Stack Pin
bleedingfingers12-Oct-10 3:21
bleedingfingers12-Oct-10 3:21 
GeneralRe: IP Stack Pin
Abhinav S12-Oct-10 5:00
Abhinav S12-Oct-10 5:00 
GeneralRe: IP Stack Pin
bleedingfingers12-Oct-10 5:23
bleedingfingers12-Oct-10 5:23 
QuestionBinary data transfer through serail port Pin
shiv@nand12-Oct-10 0:27
shiv@nand12-Oct-10 0:27 
AnswerRe: Binary data transfer through serail port Pin
CPallini12-Oct-10 0:57
mveCPallini12-Oct-10 0:57 
GeneralRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 1:03
shiv@nand12-Oct-10 1:03 
QuestionRe: Binary data transfer through serail port Pin
CPallini12-Oct-10 1:42
mveCPallini12-Oct-10 1:42 
AnswerRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 1:54
shiv@nand12-Oct-10 1:54 
GeneralRe: Binary data transfer through serail port Pin
CPallini12-Oct-10 2:12
mveCPallini12-Oct-10 2:12 
GeneralRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 2:24
shiv@nand12-Oct-10 2:24 
GeneralRe: Binary data transfer through serail port Pin
CPallini12-Oct-10 2:29
mveCPallini12-Oct-10 2:29 
GeneralRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 3:04
shiv@nand12-Oct-10 3:04 
GeneralRe: Binary data transfer through serail port Pin
CPallini12-Oct-10 9:49
mveCPallini12-Oct-10 9:49 
GeneralRe: Binary data transfer through serail port Pin
David Crow12-Oct-10 3:50
David Crow12-Oct-10 3:50 
GeneralRe: Binary data transfer through serail port Pin
Demian Panello12-Oct-10 1:53
Demian Panello12-Oct-10 1:53 
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 1:30
sitebuilderLuc Pattyn12-Oct-10 1:30 
for binary data, you have to make sure the driver doesn't interfere with the data at all; so you must check each and every port setting, including:
- pass NULL;
- don't change CR/LF;
- don't enable software handshaking.

FWIW: I tend to avoid binary communication over serial ports; when portability is more important than performance, I'd rather do some encoding, typically stuffing 2 bytes in 3 printable characters (i.e. the range 0x20-0x7E), so port settings wouldn't interfere with it at all.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 1:47
shiv@nand12-Oct-10 1:47 
GeneralRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 2:10
sitebuilderLuc Pattyn12-Oct-10 2:10 
AnswerRe: Binary data transfer through serail port Pin
krish_kumar12-Oct-10 3:02
krish_kumar12-Oct-10 3:02 
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 5:17
sitebuilderLuc Pattyn12-Oct-10 5:17 
GeneralRe: Binary data transfer through serail port Pin
Chuck O'Toole12-Oct-10 10:22
Chuck O'Toole12-Oct-10 10:22 
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 10:37
sitebuilderLuc Pattyn12-Oct-10 10:37 
GeneralRe: Binary data transfer through serail port Pin
Chuck O'Toole12-Oct-10 11:05
Chuck O'Toole12-Oct-10 11:05 
QuestionHow to log the start up and shut down time of all the PCs connected in a lan to a file Pin
manoharbalu11-Oct-10 22:19
manoharbalu11-Oct-10 22:19 

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.