0

Hi all,

Could anyone help me out here.... I'm trying to work out how to write a very simple server and client that I can first send a string through and then send a file to. For example, I'd send the file name and then the actual file.

Also, does anyone know how to encrypt this as well as just sending it over a plain connection?


Any help would be great.

Thanks in advance.

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by ddanbe
0

Check out this site:
http://www.dreamincode.net/forums/showtopic33396.htm

Thanks, I didn't see any TCPServer in use in that code sample, though it is quite helpful.

Do you have any samples lying around that would illustrate the following:

Sending a string from a TCPClient to a TCPServer
Sending a file from a TCPClient to a TCPServer

It's been a while since I touched anything like this you see and the last time I did anything like this was in Delphi, which was stupidly easy.


Thanks again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.