Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.IOException;
- import java.net.Socket;
- import java.net.UnknownHostException;
- public class Client {
- public static void main(String[] args) {
- try {
- System.out.println("Najaveni sme");
- Socket socket = new Socket("localhost", 4567);
- }
- catch (Exception e) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement