Constructor for the client side of the channel.
Definition at line 71 of file Channel.h. References CTR_HEADER_SIZE, DATA_BUFFER_SIZE, HandleError(), InitSocket(), mBuffer, mCallbackOnIdle, mFpError, mFpInfo, mIsServer, mListener, mNrError, mNrPorts, mPort, and mServerName. 00072 { 00073 mNrError = 0; 00074 mServerName = serverName; 00075 mPort = port; 00076 mNrPorts = 1; 00077 mIsServer = false; 00078 mFpInfo = 0; 00079 mFpError = 0; 00080 mListener = 0; 00081 mCallbackOnIdle = false; 00082 00083 InitSocket(); 00084 00085 mBuffer = new char[DATA_BUFFER_SIZE + CTR_HEADER_SIZE]; 00086 if (mBuffer == 0) 00087 HandleError("buffer allocation failed", false); 00088 }
Here is the call graph for this function:
|