Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
97fb0d81
Commit
97fb0d81
authored
Mar 22, 2004
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Porting fixes.
parent
7465011a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
protocol.c
dlls/wsock32/protocol.c
+3
-9
No files found.
dlls/wsock32/protocol.c
View file @
97fb0d81
...
...
@@ -30,12 +30,6 @@
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
...
...
@@ -141,7 +135,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer
->
iAddressFamily
=
WS_AF_INET
;
lpBuffer
->
iMaxSockAddr
=
0x10
;
/* NT4 SP5 */
lpBuffer
->
iMinSockAddr
=
0x10
;
/* NT4 SP5 */
lpBuffer
->
iSocketType
=
SOCK_STREAM
;
lpBuffer
->
iSocketType
=
WS_
SOCK_STREAM
;
lpBuffer
->
dwMessageSize
=
0
;
lpProtName
=
NameTcp
;
break
;
...
...
@@ -152,7 +146,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer
->
iAddressFamily
=
WS_AF_INET
;
lpBuffer
->
iMaxSockAddr
=
0x10
;
/* NT4 SP5 */
lpBuffer
->
iMinSockAddr
=
0x10
;
/* NT4 SP5 */
lpBuffer
->
iSocketType
=
SOCK_DGRAM
;
lpBuffer
->
iSocketType
=
WS_
SOCK_DGRAM
;
lpBuffer
->
dwMessageSize
=
65457
;
/* NT4 SP5 */
lpProtName
=
NameUdp
;
break
;
...
...
@@ -163,7 +157,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer
->
iAddressFamily
=
WS_AF_IPX
;
lpBuffer
->
iMaxSockAddr
=
0x10
;
/* NT4 SP5 */
lpBuffer
->
iMinSockAddr
=
0x0e
;
/* NT4 SP5 */
lpBuffer
->
iSocketType
=
SOCK_DGRAM
;
lpBuffer
->
iSocketType
=
WS_
SOCK_DGRAM
;
lpBuffer
->
dwMessageSize
=
576
;
/* NT4 SP5 */
lpProtName
=
NameIpx
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment