Constructor for the server side of the channel.
Definition at line 52 of file Channel.h. References CTR_HEADER_SIZE, DATA_BUFFER_SIZE, HandleError(), InitSocket(), mBuffer, mCallbackOnIdle, mFpError, mFpInfo, mIsServer, mListener, mNrError, mNrPorts, and mPort. 00053 { 00054 mNrError = 0; 00055 mPort = port; 00056 mNrPorts = nrPorts; 00057 mIsServer = true; 00058 mFpInfo = 0; 00059 mFpError = 0; 00060 mListener = listener; 00061 mCallbackOnIdle = false; 00062 00063 InitSocket(); 00064 00065 mBuffer = new char[DATA_BUFFER_SIZE + CTR_HEADER_SIZE]; 00066 if (mBuffer == 0) 00067 HandleError("buffer allocation failed", false); 00068 }
Here is the call graph for this function:
|