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

C#

 
GeneralRe: get current session ID Pin
crash8934-Jun-07 10:11
crash8934-Jun-07 10:11 
QuestionError 404 Pin
vunhat4-Jun-07 7:31
vunhat4-Jun-07 7:31 
AnswerRe: Error 404 Pin
Jasmine25014-Jun-07 7:49
Jasmine25014-Jun-07 7:49 
QuestionRe: Error 404 Pin
vunhat4-Jun-07 8:33
vunhat4-Jun-07 8:33 
AnswerRe: Error 404 Pin
leckey4-Jun-07 8:57
leckey4-Jun-07 8:57 
GeneralRe: Error 404 Pin
vunhat4-Jun-07 10:19
vunhat4-Jun-07 10:19 
GeneralRe: Error 404 Pin
Dan Neely4-Jun-07 11:25
Dan Neely4-Jun-07 11:25 
GeneralRe: Error 404 Pin
vunhat4-Jun-07 11:29
vunhat4-Jun-07 11:29 
int statuscode=404;
String headerbuffer=null;
String htmlbuffer=null;
htmlbuffer="

Error: "+statuscode+"

";

headerbuffer="HTTP/1.0 "+statuscode+"\r\nContent-Type: text/html\r\nContent-Length: "+htmlbuffer.Length+"\r\n\r\n";

byte[] headerbuff = Encoding.UTF8.GetBytes(headerbuffer);
byte[] htmlbuff = Encoding.UTF8.GetBytes(htmlbuffer);

s_SocKetManageClient.Send(htmlbuff, 0, htmlbuff.Length, SocketFlags.None);
s_SocKetManageClient.Send(headerbuff, 0, headerbuff.Length, SocketFlags.None);
this is my code but firefor don't understand and title of IE write HTTP 404 not Found

help me

GeneralRe: Error 404 Pin
Jasmine25014-Jun-07 11:35
Jasmine25014-Jun-07 11:35 
QuestionHTML Parsing question Pin
bs99994-Jun-07 7:02
bs99994-Jun-07 7:02 
AnswerRe: HTML Parsing question Pin
Jasmine25014-Jun-07 7:44
Jasmine25014-Jun-07 7:44 
QuestionMaking DTS Package in C#? Pin
Gul_#4-Jun-07 6:09
Gul_#4-Jun-07 6:09 
QuestionFTP Upload, problem to close stream Pin
wojti4-Jun-07 6:05
wojti4-Jun-07 6:05 
QuestionDeleting log file using WMI ? Pin
Software_Specialist4-Jun-07 5:36
Software_Specialist4-Jun-07 5:36 
QuestionnUnit & C# express Pin
Justin Perez4-Jun-07 4:25
Justin Perez4-Jun-07 4:25 
AnswerRe: nUnit & C# express Pin
Bekjong4-Jun-07 4:32
Bekjong4-Jun-07 4:32 
AnswerRe: nUnit & C# express Pin
Paul Conrad4-Jun-07 6:05
professionalPaul Conrad4-Jun-07 6:05 
Questionxml serialization problem in c# Pin
ksrs4-Jun-07 4:15
ksrs4-Jun-07 4:15 
AnswerRe: xml serialization problem in c# Pin
Sathesh Sakthivel4-Jun-07 4:22
Sathesh Sakthivel4-Jun-07 4:22 
GeneralRe: xml serialization problem in c# Pin
ksrs4-Jun-07 5:03
ksrs4-Jun-07 5:03 
GeneralRe: xml serialization problem in c# Pin
Sathesh Sakthivel4-Jun-07 5:54
Sathesh Sakthivel4-Jun-07 5:54 
QuestionRe: xml serialization problem in c# Pin
ksrs5-Jun-07 5:08
ksrs5-Jun-07 5:08 
AnswerRe: xml serialization problem in c# Pin
Sathesh Sakthivel5-Jun-07 15:21
Sathesh Sakthivel5-Jun-07 15:21 
AnswerRe: xml serialization problem in c# Pin
Jaiprakash M Bankolli4-Jun-07 7:16
Jaiprakash M Bankolli4-Jun-07 7:16 
QuestionRe: xml serialization problem in c# Pin
ksrs5-Jun-07 5:17
ksrs5-Jun-07 5:17 

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.