Open Bug 1279407 Opened 10 years ago Updated 3 years ago

Remove wsock32 and mswsock from OS_LIBS

Categories

(Firefox Build System :: General, defect)

Unspecified
Windows
defect

Tracking

(firefox50 affected)

Tracking Status
firefox50 --- affected

People

(Reporter: m_kato, Unassigned)

Details

wsock32.dll is compatibility layer for old Windows that is WinSock 1.x. Windows 2000 or later supports WinSock 2.x (ws2_32.dll). So wsock32.dll is unnecessary. And mswsock is unused. (It will be loaded by ws2_32.dll)
OS: Unspecified → Windows
Humm, UDP such as dom/network/tests/test_udpsocket.html doesn't seem to work correctly... I am investigating.
Did you replace all <winsock.h> includes with <winsock2.h>? Both headers have incompatible IPPROTO_IP definitions. http://www.geekpage.jp/programming/winsock/tips-setsockopt.php (Japanese)
(In reply to Masatoshi Kimura [:emk] from comment #2) > Did you replace all <winsock.h> includes with <winsock2.h>? Both headers > have incompatible IPPROTO_IP definitions. > http://www.geekpage.jp/programming/winsock/tips-setsockopt.php (Japanese) Oh, Thanks, emk-san. We should update nspr too.
Maybe we should guarantee Firefox and NSPR use the consistent winsock version somehow.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.