I'm running the
Windows NT cvs server 1.10.8NT
The NT service
created for this particular version is not checking the "services" file for
a non default port number.
I added the
simple following code to ensure compatibility in the file
./ntservice/Service.cpp:
/.../
sockaddr_in
sin;
// Get
port from known services
struct servent *sptr = getservbyname("cvspserver", "tcp");
u_short usPort;
struct servent *sptr = getservbyname("cvspserver", "tcp");
u_short usPort;
if
(sptr) {
// Get specific cvpserver port number
usPort = sptr->s_port;
}
else {
// Get default cvspserver port number
usPort = htons(CVS_PORT);
}
/.../
// Get specific cvpserver port number
usPort = sptr->s_port;
}
else {
// Get default cvspserver port number
usPort = htons(CVS_PORT);
}
/.../
Thus, we can change
"cvspserver" to get another port number.
Find the attached
source file with "@@jmerl" signature
Regards
Joel
d:)
(SMTP: [EMAIL PROTECTED])