defined generic socket class for both TCP and UDP, inherited by MySocketTCP - send receive funcs should still be implemented

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@332 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-10-31 11:56:01 +00:00
parent 3f1780f71b
commit 50beac1f8a
5 changed files with 413 additions and 270 deletions

View File

@ -159,17 +159,18 @@ enum detectorType {
AGIPD /**< agipd */
};
/**
Communication protocol (normally TCP)
*/
enum communicationProtocol{
TCP, /**< TCP/IP */
UDP /**< UDP */
};
/* /\** */
/* Communication protocol (normally TCP) */
/* *\/ */
/* enum communicationProtocol{ */
/* TCP, /\**< TCP/IP *\/ */
/* UDP /\**< UDP *\/ */
/* }; */
/**
Communication protocol (normally TCP)
network parameters
*/
enum networkParameter {
RECEIVER_IP, /**< receiver IP */
RECEIVER_MAC, /**< receiver mac */