C Socket Programming - Send file using TCP Sockets

preview_player
Показать описание
Sockets provide the communication mechanism between two computers using TCP. A client program creates a socket on its end of the communication and attempts to connect that socket to a server.
When the connection is made, the server creates a socket object on its end of the communication. The client and the server can now communicate by writing to and reading from the socket.
Рекомендации по теме
Комментарии
Автор

this really helped me a lot, I had to make a few changes for my purposes but this was really a perfect start point, thanks!!

franbonino
Автор

Thanks a ton - compiled successfully with Cygwin and transmitted a 34 MB pdf

ronnylandsverk
Автор

Seriously men, I'm going to take your idea to be part of my project, when it is complete, I will share it with you. It's gonna take time but thanks to you I will improve.

mutska
Автор

Does this work for client program written in Java using socket?

srijan
Автор

What to do if I have to implement a functionality that the client sends the file name to server, and server opens the file and returns the contents of the file to the client console?

chinmay
Автор

I tried it and it worked! Thank you! however the info about the filze size does not show up, I think I've downloaded a different or incomplete code?

GelsYT
Автор

Very helpful but it would be great if you explain your code and not just upload it

hafezgharib
Автор

Hi ak networks, how do i send back the image file to server? Client --> server

awesmeness
Автор

Thank bro.It's is I need! Thank you

nameno
Автор

Please re-upload the link. Thanks for this very helping video

abhishekchawda
Автор

Great Video! however, the link seems to be dead can you upload it again? thanks

patelable