| | |
TCPClient And TCPServer
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
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 animation array bitmap box c# check checkbox client combobox control conversion csharp customactiondata database datagrid datagridview dataset datastructure date/time datetime datetimepicker degrees directrobot dll draganddrop drawing encryption enum excel file filename files form format formbox forms function gdi+ gis gtk hash image input install java label list mandelbrot math mouseclick mp3 mysql native operator outlook2003 packaging path photoshop picturebox pixelinversion pixelminversion post print process programming radians regex remoting richtextbox safari server sleep snooze socket sql statistics string table tables tcp text textbox thread time timer update usercontrol usercontrols validation visualstudio webbrowser webcam wfa wia winforms wpf xml






