$Log$
+ Revision 573.87 2001/02/12 04:31:34 ajc
+ * sysdep.c ig_tcp_server() - use IPPROTO_TCP instead of getprotobyname()
+
Revision 573.86 2001/02/08 04:45:58 ajc
* Fixed namespace problems resulting from the automatic namespece prefixing
added to create_room(). Also added the ability to specify "create a mailbox
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
sin.sin_addr.s_addr = INADDR_ANY;
sin.sin_port = htons((u_short)port_number);
- s = socket(PF_INET, SOCK_STREAM,
- (getprotobyname("tcp")->p_proto));
+ s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
if (s < 0) {
lprintf(1, "citserver: Can't create a socket: %s\n",