Skip to content

Return an InputStream and OutputStream from callbacks returning tcp sockets in goslingjni #128

@morganava

Description

@morganava

There's not really any reason to return a Java Socket from these APIs, especially given the lack of native socket marshalling capabilities in Java. We should instead just return Input/Output streams which wrap some native calls (via JNI) for the relevant functions, and implement the wrapper streams in Gosling.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancementgoslingjnilibgoslingjni Java bindings issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions