This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I need to transfer a video file between server and client.i have used socket connection.converted the video into bytes and transferred and got the video.but only the first few sec of the video plays for the full time of the video.the size of the video in the client is the same.
Well, using a socket should be fine. If you are able to get a connection at all (which apparently you can), you should be able to transfer the file correctly if you code it correctly. You can read about some common errors people make when using IO here: Read Doesn't Do What You Think It Does. If that doesn't help, you can post the code that actually transfers the bytes, and we may be able to offer more help.