Skip to content
Snippets Groups Projects
Commit fe896971 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 84f34772
No related branches found
No related tags found
No related merge requests found
/* $Id: Socket.cpp,v 1.2 2001-05-03 00:27:03 geuzaine Exp $ */ /* $Id: Socket.cpp,v 1.3 2001-05-03 00:34:01 geuzaine Exp $ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -81,10 +81,10 @@ void Socket_SendString(int socket, char str[]){ ...@@ -81,10 +81,10 @@ void Socket_SendString(int socket, char str[]){
int Socket_StartProgram(char *progname, char *sockname){ int Socket_StartProgram(char *progname, char *sockname){
int s, sock; int s, sock;
#ifdef WIN32 #ifdef linux
int len;
#else
socklen_t len ; socklen_t len ;
#else
int len;
#endif #endif
struct sockaddr_un addr, from; struct sockaddr_un addr, from;
char command[1000]; char command[1000];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment