TCPClient And TCPServer
Please support our C# advertiser: DiscountASP.NET – 3 Months Free on C# Web Hosting
![]() |
•
•
Posts: 6
Reputation:
Solved Threads: 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.
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.
Check out this site:
http://www.dreamincode.net/forums/showtopic33396.htm
http://www.dreamincode.net/forums/showtopic33396.htm
"If you judge people, you have no time to love them." Mother Teresa
Make love, no war. Cave ab homine unius libri.
First rule of debugging: "If you get a different error message, you're making progress."
Danny
Make love, no war. Cave ab homine unius libri.
First rule of debugging: "If you get a different error message, you're making progress."
Danny
•
•
Posts: 6
Reputation:
Solved Threads: 0
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.
I have not something ready on my shelf.
But from the same site I have : http://www.dreamincode.net/forums/showtopic56828.htm
But from the same site I have : http://www.dreamincode.net/forums/showtopic56828.htm
Last edited by ddanbe : Nov 18th, 2008 at 2:04 pm.
"If you judge people, you have no time to love them." Mother Teresa
Make love, no war. Cave ab homine unius libri.
First rule of debugging: "If you get a different error message, you're making progress."
Danny
Make love, no war. Cave ab homine unius libri.
First rule of debugging: "If you get a different error message, you're making progress."
Danny
![]() |
Similar Threads
Other Threads in the C# Forum
- Multithreading.....Help pls (Java)
- VB6 Winsock Trouble (Visual Basic 4 / 5 / 6)
Other Threads in the C# Forum
- Previous Thread: Database update error help
- Next Thread: List All My Documents Path in XP and Vista
•
•
•
•
Views: 1353 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode