Skip to content

Some documentation #10

Open
Open

Description

@Hesam-Naderi-Dehkordi

Hi there
Being sorry.
But i coudn't find any good documentations.
Could you provide me any help on how to create a tap adapter and sending some data to it by using your library?

So many thanks

Activity

  1. Hesam-Naderi-Dehkordi commented on Oct 24, 2015

    @Hesam-Naderi-Dehkordi
    Author

    I found how to do so.
    Opening a tun device have no problem. All the things (permision , fd , ...) are OK but when i try to write to a tunnel i get the following error :

    Write error: len=98 writen=-1  errno=14Bad address errno: 14
        at org.it4y.jni.tuntap.writeByteBuffer(Native Method)
    
  2. lucwillems commented on Nov 1, 2015

    @lucwillems
    Owner

    What type of ByteBuffer are you using. it must be direct byteBuffer (native memory) not HEAP based byteBuffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions