Click here to Skip to main content
15,887,376 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help!!! Declare a varied-length array of structures and the use of marshalling? Pin
Luc Pattyn6-Apr-07 4:50
sitebuilderLuc Pattyn6-Apr-07 4:50 
QuestionC# Pin
rednexhex5-Apr-07 16:59
rednexhex5-Apr-07 16:59 
AnswerRe: C# Pin
Sathesh Sakthivel5-Apr-07 17:12
Sathesh Sakthivel5-Apr-07 17:12 
AnswerRe: C# Pin
Rudolf Jan6-Apr-07 0:30
Rudolf Jan6-Apr-07 0:30 
QuestionCall an Executable from C# with Administrative rights Pin
ke3p_up5-Apr-07 16:40
ke3p_up5-Apr-07 16:40 
AnswerRe: Call an Executable from C# with Administrative rights Pin
shrinerainxp5-Apr-07 21:26
shrinerainxp5-Apr-07 21:26 
GeneralRe: Call an Executable from C# with Administrative rights Pin
ke3p_up5-Apr-07 22:41
ke3p_up5-Apr-07 22:41 
Questionsockets question Pin
dino20945-Apr-07 15:45
dino20945-Apr-07 15:45 
My blocking tcp server looks something like

while (true)
{

recv = ns.Read(message, insertPtr, 1024);
if (recv == 0)
break;
insertPtr += recv;
}

As it is now, the client sends the data(of various sizes) and the client closing the socket when it is done, thus causing ns.Read to return zero.

My question: How can the client get ns.Read to return zero without
closing the socket? I'd like to have the server send some data back to the client without having to open a new socket.
QuestionGeneric collection classes with Hashtable Pin
sreecahitu5-Apr-07 13:38
sreecahitu5-Apr-07 13:38 
AnswerRe: Generic collection classes with Hashtable Pin
roel_v5-Apr-07 21:04
roel_v5-Apr-07 21:04 
AnswerRe: Generic collection classes with Hashtable Pin
roel_v5-Apr-07 21:07
roel_v5-Apr-07 21:07 
QuestionHow to empty a Text file? Pin
Khoramdin5-Apr-07 12:50
Khoramdin5-Apr-07 12:50 
AnswerRe: How to empty a Text file? Pin
Luc Pattyn5-Apr-07 12:57
sitebuilderLuc Pattyn5-Apr-07 12:57 
AnswerRe: How to empty a Text file? Pin
Rudolf Jan6-Apr-07 0:32
Rudolf Jan6-Apr-07 0:32 
Questionopen OR run File Pin
TAREQ F ABUZUHRI5-Apr-07 12:28
TAREQ F ABUZUHRI5-Apr-07 12:28 
AnswerRe: open OR run File Pin
Luc Pattyn5-Apr-07 12:37
sitebuilderLuc Pattyn5-Apr-07 12:37 
QuestionHex String Pin
AAKAra5-Apr-07 11:37
AAKAra5-Apr-07 11:37 
AnswerRe: Hex String Pin
Luc Pattyn5-Apr-07 12:44
sitebuilderLuc Pattyn5-Apr-07 12:44 
GeneralRe: Hex String Pin
AAKAra6-Apr-07 3:52
AAKAra6-Apr-07 3:52 
GeneralRe: Hex String Pin
Luc Pattyn6-Apr-07 4:11
sitebuilderLuc Pattyn6-Apr-07 4:11 
GeneralRe: Hex String Pin
AAKAra6-Apr-07 11:39
AAKAra6-Apr-07 11:39 
QuestionPDF Generation Tool Pin
RB@Emphasys5-Apr-07 10:33
RB@Emphasys5-Apr-07 10:33 
Questionhandle to process Pin
likefood5-Apr-07 8:16
likefood5-Apr-07 8:16 
AnswerRe: handle to process Pin
pbraun5-Apr-07 8:55
pbraun5-Apr-07 8:55 
GeneralRe: handle to process Pin
likefood5-Apr-07 13:22
likefood5-Apr-07 13:22 

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.