I am trying to write a program in which the client code is in c# and server code is in java.
Client side:
On clicking a button on the form, some text goes from the client and gets displayed on the server
Server side:
Java program. The server just listens for clients.
Socket programming is used
code is like this, but its not working when i include the GUI part