Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hover form over label... keeps flashing Pin
Jacob Dixon7-Jan-10 13:26
Jacob Dixon7-Jan-10 13:26 
GeneralRe: Hover form over label... keeps flashing Pin
Luc Pattyn7-Jan-10 13:39
sitebuilderLuc Pattyn7-Jan-10 13:39 
QuestionSending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 10:30
Alex Manolescu7-Jan-10 10:30 
AnswerRe: Sending an object through TCP/IP Pin
Pete O'Hanlon7-Jan-10 10:35
mvePete O'Hanlon7-Jan-10 10:35 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 11:35
Alex Manolescu7-Jan-10 11:35 
AnswerRe: Sending an object through TCP/IP Pin
Ian Shlasko7-Jan-10 11:08
Ian Shlasko7-Jan-10 11:08 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 11:43
Alex Manolescu7-Jan-10 11:43 
AnswerRe: Sending an object through TCP/IP Pin
Eddy Vluggen7-Jan-10 11:10
professionalEddy Vluggen7-Jan-10 11:10 
Alex Manolescu wrote:
Does C# have a pattern for this?


Note a pattern as such, there's serialization (binary, XML), transmission using the TcpClient[^].

You came to ask for a pattern - So I guess that you'd like to compare your solution to the design pattern. I have no design-pattern, but some questions to ponder over.

* Sometimes you want to try and connect in a different way. E.g., SQL Express usually babbles over TCP/IP, but it can also babble over pipes.
* Sometimes the data is sensitive. Have you considered encryption?
* Sometimes larger transmissions get interrupted for different reasons. Can you send the serialized object in multiple pieces, say, a 100? It would be nice if the sender than could send a list with the pieces it wants' and to resend them. That way you could also show a progres-indication of what's sent.

I are Troll Suspicious | :suss:

GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 11:43
Alex Manolescu7-Jan-10 11:43 
AnswerRe: Sending an object through TCP/IP Pin
Rick Shaub7-Jan-10 15:05
Rick Shaub7-Jan-10 15:05 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 22:34
Alex Manolescu7-Jan-10 22:34 
AnswerRe: Sending an object through TCP/IP Pin
N a v a n e e t h7-Jan-10 17:59
N a v a n e e t h7-Jan-10 17:59 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 22:39
Alex Manolescu7-Jan-10 22:39 
QuestionCaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 9:51
therealrustyspork7-Jan-10 9:51 
AnswerRe: CaptureFromScreen and Image Saving Pin
Paladin20007-Jan-10 10:02
Paladin20007-Jan-10 10:02 
GeneralRe: CaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 10:04
therealrustyspork7-Jan-10 10:04 
AnswerRe: CaptureFromScreen and Image Saving Pin
Luc Pattyn7-Jan-10 10:23
sitebuilderLuc Pattyn7-Jan-10 10:23 
AnswerRe: CaptureFromScreen and Image Saving Pin
OriginalGriff7-Jan-10 10:28
mveOriginalGriff7-Jan-10 10:28 
GeneralRe: CaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 10:57
therealrustyspork7-Jan-10 10:57 
GeneralRe: CaptureFromScreen and Image Saving Pin
Ian Shlasko7-Jan-10 11:15
Ian Shlasko7-Jan-10 11:15 
GeneralRe: CaptureFromScreen and Image Saving Pin
OriginalGriff7-Jan-10 21:57
mveOriginalGriff7-Jan-10 21:57 
QuestionHow To Create My Own File Encryption Algorithm Pin
Sokka937-Jan-10 8:51
Sokka937-Jan-10 8:51 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
Manas Bhardwaj7-Jan-10 9:02
professionalManas Bhardwaj7-Jan-10 9:02 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
Paladin20007-Jan-10 9:11
Paladin20007-Jan-10 9:11 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
harold aptroot7-Jan-10 9:20
harold aptroot7-Jan-10 9:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.