Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Dave Kreskowiak18-Dec-08 8:03
mveDave Kreskowiak18-Dec-08 8:03 
GeneralRe: Status Strip Progress bar graphics not accurate???!!! Pin
LongRange.Shooter19-Dec-08 3:37
LongRange.Shooter19-Dec-08 3:37 
GeneralRe: Status Strip Progress bar graphics not accurate???!!! Pin
Dave Kreskowiak19-Dec-08 12:06
mveDave Kreskowiak19-Dec-08 12:06 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Alan N18-Dec-08 8:07
Alan N18-Dec-08 8:07 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Tony Pottier18-Dec-08 8:48
Tony Pottier18-Dec-08 8:48 
QuestionSockets Best Practices Pin
menzelAtPCA18-Dec-08 6:43
menzelAtPCA18-Dec-08 6:43 
AnswerRe: Sockets Best Practices Pin
led mike18-Dec-08 7:53
led mike18-Dec-08 7:53 
AnswerRe: Sockets Best Practices Pin
Ben Fair18-Dec-08 8:54
Ben Fair18-Dec-08 8:54 
I agree with led mike, Remoting and Web Services may accomplish the same goal without the need to write the low-level code yourself. Remoting even gives you the ability to remotely control an object. Also, you shouldn't really need to work with the underlying sockets, you should be able to use TcpClient and TcpListener to accomplish everything. If you decide to stay with the current route I'd recommend a protocol halfway between the two you proposed. I'd send a byte[] where the first 4 bytes represent a 32-bit integer that represents the length of the serialized data and the rest of the bytes in the array are the serialized object's data. If you are worried about data size you can compress the binary data before transmission and then decompress on the other end before unpacking the serialized object. Of course, the compression and decompression performance impact will need to be weighed against the reduction of size to determine if it is worth it.

Keep It Simple Stupid! (KISS)

Questionenter instead tab key Pin
ArielR18-Dec-08 6:25
ArielR18-Dec-08 6:25 
AnswerRe: enter instead tab key Pin
Giorgi Dalakishvili18-Dec-08 7:19
mentorGiorgi Dalakishvili18-Dec-08 7:19 
QuestionHow to add video in Visual Studio C# Pin
Sokka9318-Dec-08 5:59
Sokka9318-Dec-08 5:59 
AnswerRe: How to add video in Visual Studio C# Pin
Dave Kreskowiak18-Dec-08 8:28
mveDave Kreskowiak18-Dec-08 8:28 
QuestionKeeping data at the top of the command prompt Pin
SuperSken18-Dec-08 4:32
SuperSken18-Dec-08 4:32 
AnswerRe: Keeping data at the top of the command prompt Pin
Eddy Vluggen18-Dec-08 4:35
professionalEddy Vluggen18-Dec-08 4:35 
GeneralRe: Keeping data at the top of the command prompt Pin
SuperSken18-Dec-08 4:59
SuperSken18-Dec-08 4:59 
GeneralRe: Keeping data at the top of the command prompt Pin
Eddy Vluggen18-Dec-08 6:56
professionalEddy Vluggen18-Dec-08 6:56 
GeneralRe: Keeping data at the top of the command prompt Pin
Alan N18-Dec-08 7:13
Alan N18-Dec-08 7:13 
QuestionFuntion call Pin
hotthoughtguy18-Dec-08 4:05
hotthoughtguy18-Dec-08 4:05 
AnswerRe: Funtion call Pin
Simon P Stevens18-Dec-08 4:14
Simon P Stevens18-Dec-08 4:14 
AnswerRe: Funtion call Pin
Gideon Engelberth18-Dec-08 4:22
Gideon Engelberth18-Dec-08 4:22 
GeneralRe: Funtion call Pin
Luc Pattyn18-Dec-08 5:57
sitebuilderLuc Pattyn18-Dec-08 5:57 
GeneralRe: Funtion call Pin
hotthoughtguy18-Dec-08 6:21
hotthoughtguy18-Dec-08 6:21 
GeneralRe: Funtion call Pin
Luc Pattyn18-Dec-08 6:57
sitebuilderLuc Pattyn18-Dec-08 6:57 
AnswerRe: Funtion call Pin
riced18-Dec-08 12:55
riced18-Dec-08 12:55 
QuestionHow to resume or pause the FTPWebRequest in C#.NET Pin
Kumaran21cen18-Dec-08 3:49
Kumaran21cen18-Dec-08 3:49 

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.