Re: Serial (rs232 etc.) to IP
- From: Grant Edwards <grante@xxxxxxxx>
- Date: Thu, 27 Oct 2005 18:29:00 -0000
On 2005-10-27, Sonic <spam@xxxxxxxx> wrote:
> I'm not sure if I am missing something, but this seems like a
> stupid conversation :)
>
> TCP is a connection based protocol and as such it ensures that
> all data is received in the correct order and without errors.
>
> There is no need to 'use' another protocol like Telnet if all
> you wish to do is transfer a serial stream of characters from
> one place to another over IP. That is what TCP/IP does.
Right, but how do you set the baud rate and parity? How do you
get notified when a break or parity error was received?
> Open a socket on one end and listen.
>
> Start sending characters to the remote socket.
You apparently have never used a UART or serial port. There's
a lot more to it that "start sending characters".
> TCP uses a sliding window mechanism, which is effectively a
> buffer of data that has been sent that has not yet been
> acknowledged. The sender will continue to send until this
> sliding window is full. As data is acknowledged from the
> remote end, the window opens up some more and more data can be
> sent.
>
> The size of the window dictates how much data you can send
> before you must receive an ACK from the other end.
>
> Every time a SYN is sent, the other end must ACK, unless the
> remote end has implemented delayed acknowledgement. You can
> normally decline delayed acknowledgement when the socket is
> first negotiated.
>
> Job done!
Hardly.
--
Grant Edwards grante Yow! YOW!!! I am having
at fun!!!
visi.com
.
- References:
- Re: Serial (rs232 etc.) to IP
- From: Frieder Ferlemann
- Re: Serial (rs232 etc.) to IP
- From: packer44
- Re: Serial (rs232 etc.) to IP
- From: Paul Keinanen
- Re: Serial (rs232 etc.) to IP
- From: Paul Keinanen
- Re: Serial (rs232 etc.) to IP
- From: Ignacio G.T.
- Re: Serial (rs232 etc.) to IP
- From: Sonic
- Re: Serial (rs232 etc.) to IP
- Prev by Date: Re: Serial (rs232 etc.) to IP
- Next by Date: Re: Parallel Port Wigglers PCI Cards and XP
- Previous by thread: Re: Serial (rs232 etc.) to IP
- Next by thread: Re: Serial (rs232 etc.) to IP
- Index(es):
Relevant Pages
|