mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-04 00:50:42 +02:00
doxygen comments were added to the class
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@5 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
3f148c52a1
commit
71ef480327
@ -1,17 +1,14 @@
|
||||
|
||||
//version 1.0, ba
|
||||
//version 1.0, base development, Ian 19/01/09
|
||||
|
||||
|
||||
#include "MySocketTCP.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
using namespace std;
|
||||
//se development ij 19/01/09
|
||||
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
MySocketTCP::~MySocketTCP(){
|
||||
Disconnect();
|
||||
if (socketDescriptor >= 0){
|
||||
|
@ -1,6 +1,26 @@
|
||||
//version 1.0, base development ij 19/01/09
|
||||
|
||||
/* Modified by anna on 19.01.2008 */
|
||||
#ifndef MY_SOCKET_TCP_H
|
||||
#define MY_SOCKET_TCP_H
|
||||
|
||||
#define SEND_REC_MAX_SIZE 4096
|
||||
#define DEFAULT_PORTNO 1952
|
||||
|
||||
using namespace std;
|
||||
|
||||
/**
|
||||
*
|
||||
* @libdoc The MySocketTCP class provides a simple interface for creating and sending/receiving data over a TCP socket.
|
||||
*
|
||||
* @short This class provides a simple interface for creating and sending/receiving data over a TCP socket.
|
||||
* @author Ian Johnson
|
||||
* @version 0.1
|
||||
*/
|
||||
|
||||
|
||||
|
||||
//version 1.0, base development, Ian 19/01/09
|
||||
|
||||
/* Modified by anna on 19.01.2009 */
|
||||
/*
|
||||
canceled SetupParameters() and varaibles intialized in the constructors' headers;
|
||||
defined SEND_REC_MAX_SIZE (for compatibilty with mythen (and possibly other) pure C servers (i would move it to the common header file)
|
||||
@ -18,13 +38,7 @@
|
||||
replaced the argument of send/receive data with void (to avoid too much casting or compiler errors/warnings)
|
||||
|
||||
added a function which really does not close the socket between send/receive (senddataonly, receivedataonly)
|
||||
|
||||
*/
|
||||
#ifndef MY_SOCKET_TCP_H
|
||||
#define MY_SOCKET_TCP_H
|
||||
|
||||
#define SEND_REC_MAX_SIZE 4096
|
||||
#define DEFAULT_PORTNO 1952
|
||||
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user