> The client i try to connect has ip:100.200.300.400

This is not a valid IP ! All 4 numbers must be in the range 0..255.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

----- Original Message ----- 
From: "Werner" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, May 26, 2006 11:00 AM
Subject: Re: [twsocket] TWSocket - send bytes - strange chars


> Hi Wilfried,
>
> Started socketspy, but I can't get it working?
> The client i try to connect has ip:100.200.300.400, port 9000
>
> In socketspy:
> Port: 9001          Address:100.200.300.400
>                          Port : 9000
>
> In TWSocket
> Address: 100.200.300.400
> Port : 9001
>
> Is this the way it should work?
> I have a router between, but this does not do it, does it?
> Thx
> Werner
>
>
> ----- Oorspronkelijk bericht ----- 
> Van: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> Aan: "ICS support mailing" <twsocket@elists.org>
> Verzonden: vrijdag, mei 26, 2006 08:56
> Onderwerp: Re: [twsocket] TWSocket - send bytes - strange chars
>
>
> > Hello Werner,
> >
> > Maybe try the following:
> > - Download socketspy (user made) and "hang" it between sender and
> >   receiver
> > - Resesign sender that it send a small amount of bytes by pushing a
> >   button, and then next chunck etc.
> > - Keep an eye on the java application
> >
> > this way you see the sent bytes in socketspy when the trouble begin.
> >
> > ---
> > Rgds, Wilfried [TeamICS]
> > http://www.overbyte.be/eng/overbyte/teamics.html
> > http://www.mestdagh.biz
> >
> > Wednesday, May 24, 2006, 15:33, Werner wrote:
> >
> > > Thanks Wilfried to point me on this possibility, hoped this would be
it.
> > > I tried only sending bytes > 31 and < 127 but it remains the same.
> >
> > > Rgds,
> > > Werner
> >
> >
> > > ----- Oorspronkelijk bericht ----- 
> > > Van: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> > > Aan: "ICS support mailing" <twsocket@elists.org>
> > > Verzonden: woensdag, mei 24, 2006 09:25
> > > Onderwerp: Re: [twsocket] TWSocket - send bytes - strange chars
> >
> >
> > >> Hello Werner,
> > >>
> > >> I'm pretty sure this is a Java problem. Something to do with the 16
bit
> > >> char conversion. If you try text with char <= 127 then do you have
same
> > >> problem too ?
> > >>
> > >> ---
> > >> Rgds, Wilfried [TeamICS]
> > >> http://www.overbyte.be/eng/overbyte/teamics.html
> > >> http://www.mestdagh.biz
> > >>
> > >> Tuesday, May 23, 2006, 21:54, Werner wrote:
> > >>
> > >> > Hi everyone,
> > >>
> > >> > I have a spooky situation.
> > >> > I send a file.txt. This file contans some default chars as any file
> can
> > > have.
> > >> > This file is sended with the proc below to a java application.
> > >> > This java application will block reading until it has read all
chars.
> > >> > Now the problem is, that the java will get some stack errors, only
> > >> > when certain chars are sended in this file.txt
> > >> > ( and i realy don't know wich chars, but a test, leaving some chars
> > >> > out of the file, point in that direction, the size is not imported)
> > >> > I know this looks more like a java problem, but maybe somebody has
> > > encountered something simular.
> > >> > So my question is : are their any chars or combination, that could
> > >> > be sensitive ? This question is as wierd then the problem I have
:).
> > >>
> > >> > Thanks for any idees
> > >> > Greetings
> > >> > Werner
> > >>
> > >>
> > >> > procedure TMainForm.SendFile(sCmd,sFile:string);
> > >> > var Fs: TFileStream;
> > >> >     Buffer: array[0..1023] of byte;
> > >> >     iCount: Integer;
> > >> > begin
> > >>
> > >> >   Fs:=TFileStream.Create(sFile, fmOpenRead or fmShareDenyNone);
> > >> >   try
> > >> >     { send size file }
> > >> >     CliSocket.SendStr(IntToStr(Fs.Size)+#13#10);
> > >> >     { send file }
> > >> >     repeat
> > >> >       iCount:=Fs.Read(Buffer,sizeof(Buffer));
> > >> >       if iCount > 0 then
> > >> >         CliSocket.Send(@Buffer,iCount);
> > >> >     until iCount <= 0;
> > >> >     { flush socket }
> > >> >     CliSocket.Flush;
> > >> >   finally
> > >> >     Fs.Free;
> > >> >   end;
> > >> > end;
> > >>
> > >> -- 
> > >> To unsubscribe or change your settings for TWSocket mailing list
> > >> please goto http://www.elists.org/mailman/listinfo/twsocket
> > >> Visit our website at http://www.overbyte.be
> > >>
> > >>
> >
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be
> >
> >
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to