[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] altcp protocol specification
From: |
address@hidden |
Subject: |
Re: [lwip-users] altcp protocol specification |
Date: |
Thu, 20 Aug 2020 14:35:53 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Am 20.08.2020 um 11:32 schrieb Dr. Bas Wijnen:
> Hi,
>
> For a piece of hardware, I need to use altcp to communicate with it from a
> regular computer (running GNU/Linux; not something embedded). On the web the
> only references I found to altcp are about lwIP. So I have two questions:
>
> Is it possible to use lwIP on a system that has a kernel that does IP and does
> that make sense if I just want to use altcp?
It might be possible, but I don't see much use of it. Anyway, you cannot
just use the IP address of the existing system doing this.
>
> If I need to implement my own "driver" (which I suppose shouldn't be very
> hard), where can I find documentation about the protocol?
It's not a protocol, it's an API. It's the standard lwIP callback API
for tcp connections, but the nature of the API makes it possible to hide
from the application the fact that the connection is e.g. TLS in
reality. Using this, it's relaively easy to convert existing tcp
applications to use TLS.
Regards,
Simon
signature.asc
Description: OpenPGP digital signature