Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
A client can connect to server and send file to it.Can the ServerSocket respose the same file back to client.
Posted

1 solution

Yes it can, nothing prevents it. The client and server exchange data.
Data could be a message, the content of a file, whatever...
 
Share this answer
 
v3
Comments
saranyaayyappan 25-Jun-15 8:01am    
I have already tried with a word file, but i am not able to send and receive data bi-directionally. Could you share me some link regarding this. I have tried many ref from google, but nothing has been sorted.
CPallini 25-Jun-15 8:07am    
Is your Google broken?
https://www.google.it/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=client+sever+bidirectional+communicaton+is+java
saranyaayyappan 25-Jun-15 8:40am    
The Problem is server receives the file but client doesn't receive response file...i want bi directional communication but its works only single way
saranyaayyappan 26-Jun-15 3:28am    
I have tried so many links regarding bi-directional communication..Nothing was working please share me example code for bidirectional communication

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900