hey can anyone help me out.........
I am trying to connect 2 processes on a single computer using socket programming in java....how can i connect such 2 processes....pplllzzzz help me out

Open a ServerSocket in one process and listen for connection, use a Socket in the other process to connect to it. Open matching input/output streams at both ends, send data across the streams.
It's exactly the same as connecting client/server on two different computers. There are lots of examples on the web.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.