Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to insert data in the middle of a stream? Pin
mav.northwind28-Jan-05 7:36
mav.northwind28-Jan-05 7:36 
GeneralDLL Injection in C# Pin
Budi Zhu27-Jan-05 21:17
Budi Zhu27-Jan-05 21:17 
GeneralUserControls in windows form Pin
rc_latha27-Jan-05 18:24
rc_latha27-Jan-05 18:24 
GeneralRe: UserControls in windows form Pin
Corinna John27-Jan-05 19:28
Corinna John27-Jan-05 19:28 
GeneralCreating Icon Pin
UdayMGovekar27-Jan-05 18:00
UdayMGovekar27-Jan-05 18:00 
Generalusing gdi+ in mfc..problem Pin
yourbuddy7727-Jan-05 17:55
yourbuddy7727-Jan-05 17:55 
GeneralRe: using gdi+ in mfc..problem Pin
Dave Kreskowiak28-Jan-05 6:34
mveDave Kreskowiak28-Jan-05 6:34 
GeneralSocket question... [C# but not only] Pin
Daniele Mancini27-Jan-05 17:49
Daniele Mancini27-Jan-05 17:49 
Hi all,
I would like to write a C# Client-Server application, using Socket class (Not NetworkStreams or else)...

My problem is that I want to handle messages with unknown size... my server application uses a fixed-size receiving buffer (1024 bytes)... If I start flooding the server with small messages (let's say 20 bytes), server will store all the messages in the buffer with the same receive call... And I don't know how to recognize every message... I thought an end-tag would be a good idea, but since in the buffer could be every kind of data, I don't know if the tag could be a part of the message... if so, there could be decoding problems (if more than one message in the receiving buffer)... I thought about a start-tag and end-tag... but the problem remains... moreover this would increase too much packet length...

any suggestion? Frown | :(
GeneralRe: Socket question... [C# but not only] Pin
J4amieC27-Jan-05 22:25
J4amieC27-Jan-05 22:25 
GeneralRe: Socket question... [C# but not only] Pin
Daniele Mancini28-Jan-05 1:08
Daniele Mancini28-Jan-05 1:08 
GeneralRe: Socket question... [C# but not only] Pin
jzb27-Jan-05 23:55
jzb27-Jan-05 23:55 
GeneralRe: Socket question... [C# but not only] Pin
Daniele Mancini28-Jan-05 1:16
Daniele Mancini28-Jan-05 1:16 
GeneralRe: Socket question... [C# but not only] Pin
Member 132576628-Jan-05 16:45
Member 132576628-Jan-05 16:45 
GeneralHELP pls!!!! Pin
Gregg Holter27-Jan-05 15:31
Gregg Holter27-Jan-05 15:31 
GeneralRe: HELP pls!!!! Pin
Yulianto.27-Jan-05 16:08
Yulianto.27-Jan-05 16:08 
GeneralRe: HELP pls!!!! Pin
Robert Rohde27-Jan-05 20:12
Robert Rohde27-Jan-05 20:12 
GeneralRe: HELP pls!!!! Pin
Daniele Mancini28-Jan-05 1:27
Daniele Mancini28-Jan-05 1:27 
GeneralRe: HELP pls!!!! Pin
Gregg Holter28-Jan-05 16:50
Gregg Holter28-Jan-05 16:50 
GeneralRe: HELP pls!!!! Pin
S. Senthil Kumar28-Jan-05 8:14
S. Senthil Kumar28-Jan-05 8:14 
GeneralRe: HELP pls!!!! Pin
Gregg Holter28-Jan-05 16:51
Gregg Holter28-Jan-05 16:51 
GeneralTreeview Pin
StephenMcAllister27-Jan-05 14:57
StephenMcAllister27-Jan-05 14:57 
GeneralRe: Treeview Pin
Robert Rohde27-Jan-05 20:14
Robert Rohde27-Jan-05 20:14 
GeneralValue of Custom Attribute on Enum Pin
Paul Watson27-Jan-05 14:08
sitebuilderPaul Watson27-Jan-05 14:08 
GeneralRe: Value of Custom Attribute on Enum Pin
leppie27-Jan-05 20:08
leppie27-Jan-05 20:08 
GeneralCrystal Report Deployment Problem.. Pin
Shady Aly27-Jan-05 13:05
Shady Aly27-Jan-05 13:05 

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.