Closed charles-dyfis-net closed 11 years ago
Not all platforms (or even all versions of Linux) have the same definition of sockaddr_t.
sockaddr_t
Use Structure.size() to get the correct value.
Structure.size()
I just upgraded my workstation to Ubuntu 13.04 (raring), and had to apply this patch before JNA-based sockets would work.
It has been fixed, https://github.com/ymnk/jsch-agent-proxy/commit/a243635d7a0126f7be36a41f9d3674a4b49342c3.
Not all platforms (or even all versions of Linux) have the same definition of
sockaddr_t
.Use
Structure.size()
to get the correct value.