Click here to Skip to main content
15,917,608 members
Home / Discussions / C#
   

C#

 
AnswerRe: MiniHttpServer Pin
BobJanova24-Mar-11 3:13
BobJanova24-Mar-11 3:13 
The browser will reuse the connection, and you're resetting the requestPos pointer to 0 when you receive a message. What you don't do is check if there is material left at the end of the current buffer which is part of the next message (after the CRLF pair). You need to copy everything after the two CRLFs back to requestBuffer[0] and set requestPos appropriately.

This should fail the first time as well as on refresh, though.
AnswerRe: MiniHttpServer -- ANSWERED Pin
Pascal Ganaye26-Mar-11 8:19
Pascal Ganaye26-Mar-11 8:19 
QuestionWindows service setup custom action Error 1001 System.BadImageFormatException Pin
Chesnokov Yuriy23-Mar-11 9:30
professionalChesnokov Yuriy23-Mar-11 9:30 
QuestionWriting a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
Piyush Vaishnav23-Mar-11 0:42
Piyush Vaishnav23-Mar-11 0:42 
AnswerRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
Luc Pattyn23-Mar-11 1:24
sitebuilderLuc Pattyn23-Mar-11 1:24 
AnswerRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
TheyCallMeMrJames23-Mar-11 3:53
TheyCallMeMrJames23-Mar-11 3:53 
GeneralRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
Piyush Vaishnav23-Mar-11 22:20
Piyush Vaishnav23-Mar-11 22:20 
GeneralRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
TheyCallMeMrJames24-Mar-11 5:51
TheyCallMeMrJames24-Mar-11 5:51 
QuestionHow to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 9:33
Eder Sa22-Mar-11 9:33 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Not Active22-Mar-11 9:55
mentorNot Active22-Mar-11 9:55 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 10:10
Eder Sa22-Mar-11 10:10 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Not Active22-Mar-11 10:36
mentorNot Active22-Mar-11 10:36 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen22-Mar-11 10:41
professionalEddy Vluggen22-Mar-11 10:41 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 11:26
Eder Sa22-Mar-11 11:26 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen22-Mar-11 22:19
professionalEddy Vluggen22-Mar-11 22:19 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa23-Mar-11 6:19
Eder Sa23-Mar-11 6:19 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon23-Mar-11 6:45
mvePete O'Hanlon23-Mar-11 6:45 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa23-Mar-11 6:52
Eder Sa23-Mar-11 6:52 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon23-Mar-11 23:07
mvePete O'Hanlon23-Mar-11 23:07 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen23-Mar-11 8:54
professionalEddy Vluggen23-Mar-11 8:54 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Nitheesh George24-Mar-11 2:56
Nitheesh George24-Mar-11 2:56 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon24-Mar-11 3:16
mvePete O'Hanlon24-Mar-11 3:16 
QuestionProblem With sending values via serial port Pin
Honeyboy_2022-Mar-11 9:02
Honeyboy_2022-Mar-11 9:02 
AnswerRe: Problem With sending values via serial port Pin
Luc Pattyn22-Mar-11 9:15
sitebuilderLuc Pattyn22-Mar-11 9:15 
GeneralRe: Problem With sending values via serial port Pin
Richard MacCutchan22-Mar-11 9:39
mveRichard MacCutchan22-Mar-11 9:39 

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.