Advertisement
Josif_tepe

Untitled

Mar 31st, 2022
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. import java.io.*;
  2. import java.net.Socket;
  3. import java.util.Scanner;
  4. import java.util.concurrent.*;
  5.  
  6. public class Client {
  7.     public static void main(String[] args) {
  8.         try {
  9.             System.out.println("Klientot se vklucuva");
  10.             Socket socket = new Socket("localhost", 1234);
  11.  
  12.         }
  13.         catch (IOException io) {
  14.             io.printStackTrace();
  15.         }
  16.  
  17.     }
  18.  
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement