[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Sockets in Linux 2.2 vs. 2.3
From:       James Juran <juran () cse ! psu ! edu>
Date:       2000-06-28 5:50:25
[Download RAW message or body]

As a followup to the thread on sockets and POLLHUP in 2.2 kernels vs.
2.3 kernels (I was away for a while and unsubscribed to the list), could
this be the cause of ftp.exe not connecting to non-local sites?  I can
connect to localhost, but not to ftp.winehq.com (my Internet connection
is a standard modem).  The same thing happens as was noted earlier: the
wineserver returns a bogus error code to the wine process when it tries
to do a connect().

This same thing happens with telnet.exe.

james[46]%wine ftp localhost
sockaddr_in: family 2, address 0.0.0.0(0), port 0
sockaddr_in: family 2, address 127.0.0.1(100007f), port 21
Connected to localhost.localdomain.
220 james.localhost.localdomain FTP server (Version wu-2.6.0(1) Fri Jun
23 09:17:44 EDT 2000) ready.
User (localhost.localdomain:(none)): 331 Password required for (none).
Password:
530 Login incorrect.
Login failed.
ftp> quit
221 Goodbye.
james[47]%                  

james[47]%wine -debugmsg +winsock ftp ftp.winehq.com
trace:winsock:WSOCK32_LibMain 0x40565000 0x1 0x1
trace:winsock:WSAStartup16 verReq=101
trace:winsock:WSAStartup16 succeeded
trace:winsock:WSOCK32_getservbyname 'ftp', 'tcp'
trace:winsock:WSOCK32_gethostbyname ftp.winehq.com
trace:winsock:WSOCK32_socket (4044b4d8): af=2 type=1 protocol=0
trace:winsock:WSOCK32_socket    created 0030
trace:winsock:WSOCK32_bind (4044b4d8): socket 0030, ptr  1638790, length
16
sockaddr_in: family 2, address 0.0.0.0(0), port 0
trace:winsock:WSOCK32_setsockopt (4044b4d8): socket 0030, lev 65535, opt
8, ptr 406f6d5c, len 4
trace:winsock:WSOCK32_setsockopt optval is: 00000001
trace:winsock:WSOCK32_connect (4044b4d8): socket 0030, ptr  1638790,
length 16
sockaddr_in: family 2, address 209.167.40.140(8c28a7d1), port 21
trace:winsock:WSOCK32_connect Errno set to EINPROGRESS after connect()
trace:winsock:WSOCK32_connect _get_sock_error returned: 1431655765
trace:winsock:WSOCK32_connect WSOCK32_connect() failed, returning
SOCKET_ERROR
fixme:winsock:WS_s_perror (ftp: connect): stub
trace:winsock:WSOCK32_closesocket (4044b4d8): socket 00000030
ftp> quit
trace:winsock:WSOCK32_LibMain 0x40565000 0x0 0x1


--
James Juran
juran@cse.psu.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic