Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <stdarg.h> //only included in implementation file
#include <stdio.h> //only included in implementation file
#include <stdarg.h> //only included in implementation file
#include <stdio.h> //only included in implementation file
# define HOST_NAME_MAX 255
// In this case we should maybe check the string was not truncated.
// But I don't known how to check that...
# define HOST_NAME_MAX 255
// In this case we should maybe check the string was not truncated.
// But I don't known how to check that...
// with WinSock DLL we need to initialise the WinSock before using gethostname
WORD wVersionRequested = MAKEWORD(1,0);
WSADATA WSAData;
// with WinSock DLL we need to initialise the WinSock before using gethostname
WORD wVersionRequested = MAKEWORD(1,0);
WSADATA WSAData;