| | |
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 api array asp.net barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom database databaseconnection datagrid datagridview dataset datetime dbconnection degrees design development draganddrop drawing encryption enum eventhandlers excel file firefox form format forms function gdi+ grantorrevokepermissionthroughc#.net image index input install java label libraries list listbox loop mandelbrot marshalbyrefobject math mouseclick movingimage mysql mysql.data.client operator path photoshop php picturebox pixelinversion platform post programming radians regex remoting resourcefile richtextbox server sleep socket sql statistics stream string study system.servicemodel table tcpclientchannel text textbox thread time timer update usercontrol validation visualstudio webbrowser windows winforms wpf wpfc# xml






