Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 362 by [email protected]: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 1) Even in the gb.net sample code Socket.RemoteHost returns an empty string (in the Server Socket example), when the Server Socket connection arrives we know the other peer IP address because is a parameter when the event is fired. But, when the ServerSocket accepts the connection, it returns a Socket Object. And "here is the problem" Socket.RemoteHost returns an empty string 2) [System] OperatingSystem=Linux Kernel=3.2.0-33-generic Architecture=x86_64 Memory=8088988 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=Gnome [Gambas 3] Version=3.3.3 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Test the ServerSocket project in the Samples folder provided with Gambas 4) No databases 5) Start the project, select any port and make it listen. open a telnet connection to that port (In my system) i get the following Connection request from : 127.0.0.1 Connection from :0 accepted (local port 0) -- Client working -- the client connects the 127.0.0.1 comes from de event parameter, but in the second line, [Connection from :0 accepted (local port 0)] the info comes from the Socket.RemoteHost:Socket.RemotePort info. 6) it would be great to solve this bug. but if you are busy with bigger priority bugs i'll still be running my programs on Gambas2. thanx for your time and your efforts on doing our life comfortable whith GamBas!!! ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
