Opened 8 years ago
Closed 5 years ago
#6300 closed enhancement (wontfix)
IPv4/IPv6 compatibility
Reported by: | Kurt Schwehr | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | ipv6 |
Cc: |
Description (last modified by )
These functions are IPv4 specific. It would be good to get them to work with both IPv4 and IPv6.
- source:trunk/gdal/apps/gdalserver.c#L65: #define SOCKADDR struct sockaddr
- source:trunk/gdal/apps/gdalserver.c#L189: struct sockaddr_in sockAddrIn;
- source:trunk/gdal/apps/gdalserver.c#L195: nListenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
- source:trunk/gdal/apps/gdalserver.c#L259: struct sockaddr sockAddr;
- source:trunk/gdal/apps/gdalserver.c#L451: if (bind(nListenSocket, (struct sockaddr *)&sockAddrUnix, len) == -1)
- source:trunk/gdal/apps/gdalserver.c#L475: struct sockaddr sockAddr;
- source:trunk/gdal/gcore/gdalclientserver.cpp#L54: #define SOCKADDR struct sockaddr
- source:trunk/gdal/gcore/gdalclientserver.cpp#L1684: struct sockaddr_in sockAddrIn;
- source:trunk/gdal/gcore/gdalclientserver.cpp#L1691: hp = gethostbyname(osHost);
- source:trunk/gdal/gcore/gdalclientserver.cpp#:1707: nConnSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
Change History (5)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Thanks for the info. Not having used GDAL_API_PROXY, I was envisioning people running a light weight front node (e.g. less storage) and then having a bunch of storage nodes that were running on separate hosts with the servers to provide the resulting data.
comment:4 by , 8 years ago
Well, *my* use cases are local only (avoiding crashing the main process). Other people might have other use cases. But as I can't remind any bug report, I don't think it is actually used by anyone ;-)
comment:5 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
I'd note this functionnality is mainly useful for localhost/127.0.0.1 use cases.