version 1.14, 2002/11/07 23:52:20 |
version 1.16, 2003/07/20 07:18:45 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.13 2002/11/07 13:32:06 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.15 2002/11/08 02:54:11 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
Line 598 int oxInitClient(oxclientp client) |
|
Line 598 int oxInitClient(oxclientp client) |
|
client->mathcapObjp = NULL; |
client->mathcapObjp = NULL; |
client->controlByteOrder = OX_BYTE_NETWORK_BYTE_ORDER; |
client->controlByteOrder = OX_BYTE_NETWORK_BYTE_ORDER; |
client->engineByteOrder = OX_BYTE_NETWORK_BYTE_ORDER; |
client->engineByteOrder = OX_BYTE_NETWORK_BYTE_ORDER; |
|
client->engineID = -1; |
return(0); |
return(0); |
} |
} |
|
|
Line 939 oxclientp oxCreateClient2(int fdstream,int portStream, |
|
Line 940 oxclientp oxCreateClient2(int fdstream,int portStream, |
|
if (v) fprintf(stderr,"\nStream port %d : Connected.\n",portStream); |
if (v) fprintf(stderr,"\nStream port %d : Connected.\n",portStream); |
|
|
if (fdStream == -1 || fdControl == -1) { |
if (fdStream == -1 || fdControl == -1) { |
fprintf(stderr,"\nOpen error in oxCreateClient.\n"); |
fprintf(stderr,"\nOpen error in oxCreateClient2.\n"); |
|
fprintf(stderr,"fdStream=%d, fdControl=%d\n",fdStream,fdControl); |
return(NULL); |
return(NULL); |
} |
} |
|
|