Mickel Grönroos <mickel at csc.fi> writes: > You wouldn't have some sample code on how I can use the socket module to > test if I can connect to a given URL? (I would't want to rely on other > modules than the ones in the standard library, so therefore I want to > try this socket approach.) Sorry, no. But it's easy to figure out yourself. Thomas