I want to send a connection request to a server. Or u can say I hav IP addressof server and I want to connect to that server.Plz tell me how can I do thisthrough java code.
You mean a TCP connection?Socket socket = new Socket(InetAddress address, int port)If not a TCP connection UDP packets are supported (obviously) go checkthe Java docs.