Cygwin socket library status enquiry
Steve Holden
sholden at holdenweb.com
Mon Dec 17 17:57:46 EST 2001
Can anyone say fairly definitively whether there are known socket
communication problems in cygwin with Python 2.1.1-2 (the latest version
ported by Jason Tishler).
My asynchat-based web server runs fine under the native Windows 2.0 port.
When I run it under cygwin it seems to go OK for a few interactions, but
then seems to hang. The output from netstat -an seems to me to be more than
a little confusing: client-side sockets (created to connect to the server by
Internet Explorer) are shown as in a LISTENING state.
If the same thing happened with the native Windows implementation I would be
looking at my code, but I'm wondering whether it's a cygwin problem. Google
seems to indicate that there were socket problems with cygwin a good while
ago, but I don't see recent problem descriptions.
Can anyone tell me what's going on? The netstat output is attached.
regards
Steve
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:1026 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1299 0.0.0.0:0 LISTENING
TCP 0.0.0.0:21 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1304 0.0.0.0:0 LISTENING
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:81 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1155 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1156 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1157 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1161 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1166 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1173 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1200 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1201 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1202 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1203 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1211 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1217 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1223 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1250 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1251 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1252 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1253 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1260 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1266 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1268 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1026 127.0.0.1:3306 ESTABLISHED
TCP 127.0.0.1:1031 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1299 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1304 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1078 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1154 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1155 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1156 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1157 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1161 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1166 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:8080 127.0.0.1:1299 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1304 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1154 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1155 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1156 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1157 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1161 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1166 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1173 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1200 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1201 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1202 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1203 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1211 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1217 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1223 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1250 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1251 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1252 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1253 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1260 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1266 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:1268 CLOSE_WAIT
TCP 127.0.0.1:1173 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1200 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1201 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1202 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1203 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1211 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1217 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1223 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1250 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1251 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1252 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1253 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:3306 127.0.0.1:1026 ESTABLISHED
TCP 127.0.0.1:1260 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1266 127.0.0.1:8080 FIN_WAIT_2
TCP 127.0.0.1:1268 127.0.0.1:8080 FIN_WAIT_2
TCP 192.168.10.159:137 0.0.0.0:0 LISTENING
TCP 192.168.10.159:138 0.0.0.0:0 LISTENING
TCP 192.168.10.159:139 0.0.0.0:0 LISTENING
UDP 127.0.0.1:1031 *:*
UDP 127.0.0.1:1078 *:*
UDP 192.168.10.159:137 *:*
UDP 192.168.10.159:138 *:*
--
--
http://www.holdenweb.com/
More information about the Python-list
mailing list