| | |
TCPClient And TCPServer
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2008
Posts: 10
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
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
•
•
Join Date: Aug 2008
Posts: 10
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.
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 3:04 pm.
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
![]() |
Similar Threads
- Multithreading.....Help pls (Java)
- VB6 Winsock Trouble (Visual Basic 4 / 5 / 6)
Other Threads in the C# Forum
- Previous Thread: Console calculator Part 1 : The Scanner
- Next Thread: List All My Documents Path in XP and Vista
| Thread Tools | Search this Thread |
.net access activedirectory ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client combobox connect control conversion cryptographyc#winformsencryption csharp custom database datagrid datagridview dataset datetime degrees development disabled displayingopenforms draganddrop drawing encryption enum event excel file foreach form format forms ftp function gdi+ httpwebrequest image index index-error input install java label list listbox mandelbrot math mathematics mouseclick mysql operator path photoshop picturebox pixelinversion post prime programming radians regex remote remoting richtextbox security server setup sleep socket sql statistics stream string table text textbox thread time timer totaldays update user usercontrol validation visual visualstudio webbrowser windows winforms wpf xml






