Q:
Respected Sir,
is it possible to pass a text file from server to client using tcp
socket in C?.
Provide me with an example which should run under Linux
- *NAME-DELETED*
A:
It depends on what you call a "text file". It is possible. An extremely
good example is the Apache web server available in source code.
However what you really need is (I guess) is a good socket programming
tutorial. Try this:
http://www.google.com/search?q=socket+programming+tutorial&hl=hu
The first link in the list is a good tutorial.
Regards,
Peter
[ back to toc ]