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

C#

 
GeneralRe: Can I make this? Pin
Nish Nishant10-Aug-03 18:04
sitebuilderNish Nishant10-Aug-03 18:04 
GeneralRe: Can I make this? Pin
Kannan Kalyanaraman10-Aug-03 19:01
Kannan Kalyanaraman10-Aug-03 19:01 
GeneralRe: Can I make this? Pin
Nish Nishant10-Aug-03 23:11
sitebuilderNish Nishant10-Aug-03 23:11 
GeneralRe: Can I make this? Pin
Kannan Kalyanaraman10-Aug-03 23:52
Kannan Kalyanaraman10-Aug-03 23:52 
GeneralMemory Issue Pin
tkemory10-Aug-03 1:58
tkemory10-Aug-03 1:58 
GeneralRe: Memory Issue Pin
tkemory10-Aug-03 2:00
tkemory10-Aug-03 2:00 
GeneralRe: Memory Issue Pin
Ista10-Aug-03 9:57
Ista10-Aug-03 9:57 
Generaltrim byte[] to new size - after socket.receive Pin
MeisterBiber9-Aug-03 23:27
MeisterBiber9-Aug-03 23:27 
Hello !

is there an efficient way to trim a byte[] to a new size?

i need this for a socket.receive:
byte[] data = new byte[1024]; //Input-Buffer
int recv = s.ReceiveFrom(data,ref sender);


i tried this:
byte[] trimmedData = new byte[recv];
for (int i = 0;i
GeneralRe: trim byte[] to new size - after socket.receive Pin
Taka Muraoka9-Aug-03 23:51
Taka Muraoka9-Aug-03 23:51 
GeneralRe: trim byte[] to new size - after socket.receive Pin
Nick Seng10-Aug-03 17:28
Nick Seng10-Aug-03 17:28 
GeneralRe: trim byte[] to new size - after socket.receive Pin
Anthony_Yio11-Aug-03 2:00
Anthony_Yio11-Aug-03 2:00 
GeneralRe: trim byte[] to new size - after socket.receive Pin
Ista10-Aug-03 13:14
Ista10-Aug-03 13:14 
Generalcontrol the connection Pin
Ahmed Mazrou39-Aug-03 17:16
Ahmed Mazrou39-Aug-03 17:16 
GeneralRe: control the connection Pin
Ista10-Aug-03 10:18
Ista10-Aug-03 10:18 
GeneralIF STATMENT Pin
eggie59-Aug-03 17:01
eggie59-Aug-03 17:01 
GeneralRe: IF STATMENT Pin
eggie59-Aug-03 17:41
eggie59-Aug-03 17:41 
GeneralRe: IF STATMENT Pin
Csharp™10-Aug-03 0:25
Csharp™10-Aug-03 0:25 
GeneralRe: IF STATMENT Pin
eggie510-Aug-03 18:23
eggie510-Aug-03 18:23 
GeneralPlease help decipher this MSDN threading sample! Pin
devvvy9-Aug-03 16:26
devvvy9-Aug-03 16:26 
GeneralRe: Please help decipher this MSDN threading sample! Pin
Meysam Mahfouzi10-Aug-03 17:31
Meysam Mahfouzi10-Aug-03 17:31 
GeneralRe: Please help decipher this MSDN threading sample! Pin
devvvy11-Aug-03 2:56
devvvy11-Aug-03 2:56 
GeneralRe: Please help decipher this MSDN threading sample! Pin
devvvy13-Aug-03 6:57
devvvy13-Aug-03 6:57 
GeneralWSDL question Pin
Mazdak9-Aug-03 9:52
Mazdak9-Aug-03 9:52 
GeneralRe: WSDL question Pin
James T. Johnson9-Aug-03 11:27
James T. Johnson9-Aug-03 11:27 
GeneralRe: WSDL question Pin
Ista9-Aug-03 12:13
Ista9-Aug-03 12:13 

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.