corected the rx_udpport change segmentation fault

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@432 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-01-17 10:53:39 +00:00
parent 2c38aedcf8
commit 47a9d34991
4 changed files with 10 additions and 9 deletions

View File

@ -89,7 +89,7 @@ enum communicationProtocol{
};
genericSocket(const char* const host_ip_or_name, unsigned short int const port_number, communicationProtocol p) :
genericSocket(const char* const host_ip_or_name, unsigned short int const port_number, communicationProtocol p) :
// portno(port_number),
protocol(p), is_a_server(0), socketDescriptor(-1),file_des(-1), packet_size(DEFAULT_PACKET_SIZE)// sender (client): where to? ip
{
@ -138,7 +138,7 @@ protocol(p), is_a_server(0), socketDescriptor(-1),file_des(-1), packet_size(DEFA
*/
genericSocket(unsigned short int const port_number, communicationProtocol p, const char *eth=NULL):
genericSocket(unsigned short int const port_number, communicationProtocol p, const char *eth=NULL):
//portno(port_number),
protocol(p), is_a_server(1),socketDescriptor(-1), file_des(-1), packet_size(DEFAULT_PACKET_SIZE){