1

I got a socket handle in C++; then it spawned off a child Java program.

I used the following code and able to open up the streams in my Java program on Linux.

Can I get a Java Socket from a file descriptor number?

But the same code does not work on Windows.

I have been researching it for a couple weeks but not able to find any solution.

Does anyone know how to do it if possible?

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.