HI I want to know how the clients can transfer a file or photo to one another when connected using sockets in java networking.Can any one help me how this should be done.It should work in a similar way as in msn messenger.Pls help me. Thanks in Advance ---Yegappan---
is also in intermediate (maybe because there is a price to win in this group :-) ) with tons of answers.......do not crosspost. otherwise people interested in this have to check all the groups for the answers. also you have better chances in getting an good answer if you write in the good group because there are the experts for your problem. k
Joined: Nov 19, 2001
Sorry karl. I am very urgent to know this answer and i had crossposted this in the forums.ya i understand.i got good answers in intermediate.Again i am aplogising.i am very sure this should not be done by me again.Thanks for your response. cheers --Yegappan---
i personally think that u need a server.... a java program that uses ServerSocket and wait for a client which uses Socket to be connected to the Server.. then when the client is connect then u can create a IO Stream from the getInputStream() and getOutStream(), then jus write from client and read from server..... u can go to my website http://www.geocities.com/zniter_java/download/FileTransfer/FileTransfer.zip i have a program for filet transfer over a network.... hope it help u......
subject: how to send a file or photo to clients using sockets??