My Tech Notes
Search This Blog
Java: Open a socket only listening to localhost
new ServerSocket(9090, 0, InetAddress.getLoopbackAddress());
see also
https://stackoverflow.com/questions/2205073/how-to-create-java-socket-that-is-localhost-only/2994761
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment