Re: [twsocket] Decode a snmp trap message

2005-04-18 Thread Francois Piette
> I have an open server socket ( TWSocket ) listening on port 162 in upd mode > , for snmp trap ( snmp v2c ). > I receive a trap but I can able to decode the fields meaning, they simply > seems doesn't mach whith the field specified by the snmp protocol. > > Someone on the list have already experie

[twsocket] Decode a snmp trap message

2005-04-18 Thread AESYS S.p.A. [Enzo Arlati]
I have an open server socket ( TWSocket ) listening on port 162 in upd mode , for snmp trap ( snmp v2c ). I receive a trap but I can able to decode the fields meaning, they simply seems doesn't mach whith the field specified by the snmp protocol. Someone on the list have already experienced on t

Re: [twsocket] HttpCli and the 404 status code

2005-04-18 Thread Marcello Vezzelli
Maurizio Lotauro wrote: I noticed that the HttpCli component return the 404 status code not only when the server return this code but even under different situations. For example when it is unable to resolve the hostname or when wsocket raise an error (please correct me if I'm wrong). I noticed thi

Re: [twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Fastream Technologies
Oh, I guess my version was a bit old. This may be the problem. Thanks, SZ - Original Message - From: "Bjørnar Nielsen" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Monday, April 18, 2005 12:13 PM Subject: RE: [twsocket] THttpServer not complies with RFC? I have not tested this,

RE: [twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Bjørnar Nielsen
I have not tested this, but the sourse says that answering 501 was added Mar 07, 2005. Did you test with latest release? Regards Bjørnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: 18. april 2005 10:48 To: ICS support ma

[twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Fastream Technologies
Hello, I am not sure if this was written before but I have found the following problem: When an invalid HTTP command is entered in the header of a HTTP request by the client (for example other than HEAD, GET and POST), the RFC says the server must return 501 (Not Implemented) but ICS server ret

Re: [twsocket] HttpCli and the 404 status code

2005-04-18 Thread Francois Piette
> Probably a solution could be to expose the FRequestDoneError field. > The status code should be meaningful only if FRequestDoneError=0. You mean reporting 10060 (and others) to the error field ? Yes, probably good. But statuscode must still return 404 otherwise probably a lot of existing applic

Re: Re[4]: [twsocket] Multithreaded http...

2005-04-18 Thread Francois Piette
> > in On requestDone: > > THttpCli(Sender).RcvdStream > But how do i convert it to StringList ? Convert the received stream to a string list ? Arno told you: AStream.Seek(0, sofromBeginning); StringList.LoadFromStream(AStream); But if you want to convert to a string list for analysis, i

Re: Re[2]: [twsocket] Multithreaded http...

2005-04-18 Thread Francois Piette
> Anyway i still dont know how can i get da whole recived document > OnRequestDone... The document is stored in the stream you supplyed to RcvdStream property before starting GetAsync. > and can i put in there some procedures and they still will be async? If your processing take significative t