can anybody plz tell me how to write to a socket created by another program.i created one Socket & saved its parameters like port,local port,address in one file then in another program i read that file & initialized another socket with those parameters but i'm getting write failure exception.plz help me!!!
Are you shure the socket you created is still alive and awaits you to connect to it ?
also if you use Java ( exception drives me to think so )
you might concisder to use ServerSocket in the aplication that awaits conection.
pont.net/socket/java/ ( nice 2 files that implement server/client ).
add www ( not alowed to post URL )
The client side should stick to Socket