JasonAlt / UberFTP

Interactive GridFTP client
Other
17 stars 14 forks source link

Fail to connect when using port ranges on SLES #1

Open JasonAlt opened 12 years ago

JasonAlt commented 12 years ago

Consecutive calls to uberftp while using port ranges sometimes fails on SLES10:

$GLOBUS_LOCATION/bin/uberftp-2.5 -ls gsiftp://x.x.x.x:2811/~/ Failed to connect to x.x.x.x port 2811: Cannot assign requested address

JasonAlt commented 12 years ago

SO_REUSEADDR seems to fail on sles10. I've added EADDRNOTAVAIL to the list of possible errnos that will increment the loop in network.c:net_connect(). This is on the develop branch for testing