Reply to Re: Problem reading/writing sockets

Your name:

Reply:


Posted by Can2002 on 11/07/07 15:28

On Oct 26, 3:43 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Echoing a "\n" won't send it over the socket, but I don't think that's
> what you mean.
>
> Sending a "\n" over the socket should send a newline character. But is
> your device expecting a new line (Unix style) or a cr/lf (Windows
> style)? If the latter, try "\r\n".

Hi Jerry,

Thanks for that and sorry for the delay in response. I'm not
completely sure, but the device is running an embedded version of
Linux with Busybox and LIRC, so I'd be surprised if it needed Windows-
style returns. I simply append "/n" in Python...

I've been distracted with other work in the last week, but I'll keep
looking.

Cheers,
Chris

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация