1 --- fastforward-1.00/ipstreams/wvtcp.cc.orig Thu Aug 29 14:07:47 2002
2 +++ fastforward-1.00/ipstreams/wvtcp.cc Thu Aug 29 14:10:58 2002
4 WvIPPortAddr WvTCPConn::localaddr()
7 - size_t sl = sizeof(sin);
8 + socklen_t sl = sizeof(sin);
10 if (!isok() || getsockname(getfd(), (sockaddr *)&sin, &sl))
11 return WvIPPortAddr();
14 if (listenport.port == 0) // auto-select a port number
16 - size_t namelen = listenport.sockaddr_len();
17 + socklen_t namelen = listenport.sockaddr_len();
19 if (getsockname(fd, sa, &namelen) != 0)
22 WvTCPConn *WvTCPListener::accept()
24 struct sockaddr_in sin;
25 - size_t len = sizeof(sin);
26 + socklen_t len = sizeof(sin);
30 --- fastforward-1.00/ipstreams/wvudp.cc.orig Thu Aug 29 14:12:08 2002
31 +++ fastforward-1.00/ipstreams/wvudp.cc Thu Aug 29 14:13:02 2002
35 struct sockaddr_in nsa;
36 - size_t nsalen = sizeof(nsa);
37 + socklen_t nsalen = sizeof(nsa);
38 if (getsockname(fd, (sockaddr *)&nsa, &nsalen) < 0)
42 if (!isok() || !buf || !count) return 0;
44 struct sockaddr_in from;
45 - size_t fromlen = sizeof(from);
46 + socklen_t fromlen = sizeof(from);
47 int in = recvfrom(getfd(), buf, count, 0, (sockaddr *)&from, &fromlen);
50 --- fastforward-1.00/fastforward/wvfftcp.cc.orig Thu Aug 29 14:13:21 2002
51 +++ fastforward-1.00/fastforward/wvfftcp.cc Thu Aug 29 14:14:32 2002
53 /******************************************/
55 struct sockaddr_in sin;
56 - size_t len = sizeof( sin );
57 + socklen_t len = sizeof( sin );