From 4853dbf7e1e3d69064f6af735acc802b5971b5f5 Mon Sep 17 00:00:00 2001 From: sc Date: Tue, 26 Jan 1999 08:53:24 +0000 Subject: 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)) --- src/ivyloop.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/ivyloop.c') 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 + * Authors: François-Régis Colin * Stéphane Chatty * * $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 #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; } -- cgit v1.1