| | |
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 algorithm angle array barchart bitmap box broadcast c# capturing check checkbox client combobox control conversion convert csharp custom database datagrid datagridview dataset datetime dbconnection degrees delegate design development disappear draganddrop drawing encryption enum event excel file firefox form format forms function gdi+ httpwebrequest image index input install java label leak libraries list listbox mandelbrot math monodevelop mouseclick msword mysql operator path pause photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox round server sleep socket sql statistics stream string table tcpclientchannel text textbox thread time timer update usercontrol validation virtualization visualbasic visualstudio webbrowser windows winforms wpf xml






