ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vpn_tcp.C
(Generate patch)

Comparing gvpe/src/vpn_tcp.C (file contents):
Revision 1.14 by pcg, Tue Apr 26 00:55:56 2005 UTC vs.
Revision 1.15 by pcg, Sat Jul 9 02:43:19 2005 UTC

134 sockinfo si(sa, PROT_TCPv4); 134 sockinfo si(sa, PROT_TCPv4);
135 135
136 slog (L_DEBUG, _("%s: accepted tcp connection"), (const char *)si);//D 136 slog (L_DEBUG, _("%s: accepted tcp connection"), (const char *)si);//D
137 137
138 fcntl (fd, F_SETFL, O_NONBLOCK); 138 fcntl (fd, F_SETFL, O_NONBLOCK);
139 fcntl (fd, F_SETFD, FD_CLOEXEC);
139 140
140 tcp_connection *i = new tcp_connection (fd, si, *this); 141 tcp_connection *i = new tcp_connection (fd, si, *this);
141 tcp_si.insert (*i); 142 tcp_si.insert (*i);
142 } 143 }
143 } 144 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines