/* * Drop a specific server connection. */ void GsClose(int fd) { GsDropClient(fd); if(!persistent_mode && connectcount == 0) GsTerminate(); }
/* * Close the connection to the server. */ void GsClose(void) { #if !NONETWORK GsDropClient(current_fd); #endif if(--connectcount == 0) GsTerminate(); }