-1

Strange title I know, but please hear me out. I am looking for a version of TcpClient and TcpListener which don't use IP. In essence, I would like to be able to use all the TCP benefits (reliable & ordered) on top of any protocol of my choosing (UDP, ICMP, DNS, carrier pigeon).

Is there a way I could somehow tap into what TCP is passing down to the IP layer?

Thanks, Fidel

Edit:

I want a reliable protocol (eg. TCP) which can pump data into a stream, and read data from a stream, without knowing exactly how the stream transports that data.

I have explicit control over that stream. I just need TCP to send information to that stream instead of its regular underlying layer.

Fidel
  • 7,027
  • 11
  • 57
  • 81

2 Answers2

3

There was an experiment run to get TCP working with Pigeons. Recently there also was an experiment using Humans and Xylophones.

Johannes
  • 6,490
  • 10
  • 59
  • 108
0

You can achieve this and you do not need to use TCP/IP.

Have a look here, you can pass different address types not just TCP/IP.

But remember if you are talking about UDP, ICMP, ... they are different protocols not different addressing schemes.

Aliostad
  • 80,612
  • 21
  • 160
  • 208