Building Controls Virtual Test Bed
closeIPC.m File Reference

Go to the source code of this file.

Functions

id gov:gov: (id lbl,[gov] 'Warning:Cannot close socket in closeIPC(%d) because argument is negative', sockfd fprintf)
 
elseif ~libisloaded (getBCVTBLibName())%bcvtb library is not loaded retVal
 

Variables

function retVal
 

Function Documentation

id gov:gov: ( id  lbl,
[gov] 'Warning:Cannot close socket in closeIPC(%d) because argument is negative'  ,
sockfd  fprintf 
)
virtual
elseif ~libisloaded ( getBCVTBLibName()  )

Variable Documentation

else retVal
Initial value:
= closeIPC(sockfd)
% CLOSEIPC - Closes the interprocess communication
%
% status = closeIPC(sockfd) closes the socket
% connection with file descriptor sockfd.
function sockfd
function if the BCVTB library can be loaded and if sockfd is not a negative then this function sends signal to the socket If sending a message to the socket was successful
Definition: processError.m:1

Definition at line 1 of file closeIPC.m.

Referenced by assembleBuffer(), disassembleBuffer(), disassembleHeaderBuffer(), establishBSDSocket(), establishclientsocket(), exchangeDoublesWithBSDSocket(), exchangewithsocket(), getrequiredbufferlength(), getRequiredReadBufferLength(), getsocketportnumber(), main(), BCVTB.Launcher::main(), readbufferfromsocket(), readfromsocket(), sendclientmessage(), BCVTB.Launcher::startBCVTB(), BCVTB.Launcher::startProcess(), and writetosocket().