Skip to Main Content
DCE Replacement Strategies
book

DCE Replacement Strategies

by Heinz Johner, Jakob Erber, Stephen Hawkins, Klaus Mueller, Pallavi Nagesha Rao, Donna Skibbie
June 2003
Intermediate to advanced content levelIntermediate to advanced
454 pages
10h 19m
English
IBM Redbooks
Content preview from DCE Replacement Strategies
286 DCE Replacement Strategies
Utility source of the DCE dependent application
Description: Utility module with DCE dependencies
File name: utils_s1.c
#include <stdio.h>
#include <dce/gssapi.h>
#include <dce/daclif.h>
#include "utils_s1.h"
#include <sys/types.h>
#ifdef WIN32
# include <winsock.h>
# undef write
# define write(fd, bufptr, buflen) send(fd, bufptr, buflen, 0)
# undef read
# define read(fd, bufptr, buflen) recv(fd, bufptr, buflen, 0)
# undef close
# define close(fd) closesocket(fd)
#else
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
#endif
#ifndef ECHO_INET_H_
#define ECHO_INET_H_
#endif
#define DEFAULT_ECHO_PORT "12345"
#define SERVICE_INSECURE 1
#define SERVICE_SECURE 2
#ifndef WIN32
#define min(a,b) (((a)<(b)) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738453080Purchase book