summaryrefslogtreecommitdiff
path: root/src/ivyloop.c
diff options
context:
space:
mode:
authorsc1999-01-26 08:53:24 +0000
committersc1999-01-26 08:53:24 +0000
commit4853dbf7e1e3d69064f6af735acc802b5971b5f5 (patch)
tree6bf6b5113243896236f4e898a4928933f7b193e2 /src/ivyloop.c
parentc3f74fec7009f561928ed38d2228845a11d31849 (diff)
downloadivy-c-4853dbf7e1e3d69064f6af735acc802b5971b5f5.zip
ivy-c-4853dbf7e1e3d69064f6af735acc802b5971b5f5.tar.gz
ivy-c-4853dbf7e1e3d69064f6af735acc802b5971b5f5.tar.bz2
ivy-c-4853dbf7e1e3d69064f6af735acc802b5971b5f5.tar.xz
A bit of clean up in headers
Changes in IvyStart and IvyInit: - expanded parsing of IvyStart argument to bus addresses like 123.123,123.122:2019 - socket for receiving broadcast handshakes is now in IvyStart (we thus lose the ability to have "passive" agents (agents that listen but don't say hello))
Diffstat (limited to 'src/ivyloop.c')
-rw-r--r--src/ivyloop.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ivyloop.c b/src/ivyloop.c
index df2c093..f743d1d 100644
--- a/src/ivyloop.c
+++ b/src/ivyloop.c
@@ -1,20 +1,20 @@
/*
* Ivy, C interface
*
- * Copyright (C) 1997-1999
- * Centre d'Études de la Navigation Aérienne
+ * Copyright (C) 1997-1999
+ * Centre d'Études de la Navigation Aérienne
*
- * Main loop handling around select
+ * Main loop based on select
*
- * Authors: François-Régis Colin <colin@cenatoulouse.dgac.fr>
+ * Authors: François-Régis Colin <colin@cenatoulouse.dgac.fr>
* Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
*
* $Id$
*
- * Please refer to file version.h for the
- * copyright notice regarding this software
- *
+ * Please refer to file version.h for the
+ * copyright notice regarding this software
*/
+
#ifdef WIN32
#include <windows.h>
#endif
@@ -158,9 +158,9 @@ void IvyChannelInit(void)
#ifdef WIN32
error = WSAStartup( 0x0101, &WsaData );
- if ( error == SOCKET_ERROR ) {
- printf( "WSAStartup failed.\n" );
- }
+ if ( error == SOCKET_ERROR ) {
+ printf( "WSAStartup failed.\n" );
+ }
#endif
channel_initialized = 1;
}