Name | Modified | Size | Downloads / Week |
---|---|---|---|
readme.txt | 2018-03-31 | 800 Bytes | |
JUnixSocket.jar | 2018-03-31 | 43.0 kB | |
Totals: 2 Items | 43.8 kB | 0 |
=========== JUnixSocket =========== A library to access Unix Socket inside java applications. The library is written using java and C++. Native code as built for Linux and MacOSX in 32 and 64 bit flavors. The native libraries are inside the jar and is automatically loaded at runtime when first socket is created. Simple usage: File socketFile = new File(sPorta); if(!socketFile.exists()) throw new IOException("Il file socket non esiste."); AFUNIXSocket sock = AFUNIXSocket.newInstance(); sock.connect(new AFUNIXSocketAddress(socketFile)); // imposta gli stream di input/output InputStream is = sock.getInputStream(); OutputStream os = sock.getOutputStream()); // use stream for io on socket .... .... LAST BUILD sab 31 mar 2018, 20.33.44, CEST