> -----Original Message-----
> From: Benoît Minisini [mailto:gam...@users.sourceforge.net]
> Sent: Sunday, May 13, 2012 5:04 AM
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Debian ARMEL packages for Gambas3
> components?
>
>
> Le 10/05/2012 13:42, Christer Johansson a écrit :
> > Some good news!
> >
> > After rolling back to older code last night and trying to reproduce
> > the freezing issue I can say that I was wrong in my conclusion that
> > 3.1.90 r4702 had the same problem that I experience in Gambas2.
> >
> > The server have been running for 16+ hours on the NAS and are still
> > going, no freezes so far :)
> >
> > The only (minor) issue that I've seen so far is that the
> RemoteHostIP
> > parameter in SockeServers Connection event returns the servers IP#
> > instead of the clients IP# (I noticed the same in Gambas2
> version 2.23.1
> > and 2.21.0-2).
> >
> > /CJ
> >
>
> Strange... According to the source code (that I didn't
> write), what is
> sent to the Connection event handler is really the IP of the client
> connecting to the server socket.
>
> Can you provide more details? A little client and a little server
> projects that show the bug would be the best!
>
> Regards,
>
> --
> Benoît Minisini

Attached is a simple program that hopefully shows it.

If I start this simple server on my NAS (IP# 192.168.0.20) and then
connect with...

  telnet 192.168.0.20 1122

from my Windows computer (IP# 192.168.0.15) the server running on the NAS
shows...

  Waiting for a client to connect...
  Connection successful from 192.168.0.20

/CJ

Attachment: remotehostip_demo.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to