Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#305 0.8.0.0

open
Jukka Laurila
socket (31)
5
2014-04-23
2008-08-08
reaper7
No

PythonForS60_1_4_4_3rdEd
E51 100.34.20 29-09-2007

Server working but connected client IP returned by script is always 0.8.0.0

sample code serverHTTP:
.
.
_connector = socket.socket( socket.AF_INET, socket.SOCK_STREAM )
_connector.bind ( ( str(_host), int(_port) ) )
_connector.listen ( int(_maxClient) )
_running = True
while _running:
channel, details = _connector.accept()

if _running:
printd( 'New connection with: ' + str(details) )
printd( 'host: ' + str(details[0]) )
.
.

Discussion