Is it possible to take a TCP connection and tell the kernel to "move" it to a host and port only visible on the machine? Would like to avoid having a program copy all the data around.

@gudenau I would think so – the question is then what sourcery is required to achieve the goal.

What’s the usecase if I may ask?

@giffengrabber Essentially a proxy server, it would just be expected to handle connections that last hours and can transfer non-trivial amounts of data.

@giffengrabber I guess this might be a good use for green threads, something to play with I suppose.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!