#include <SockClie.hh>
Public Member Functions | |
| clSockClie () | |
| ~clSockClie () | |
| int | Connect (const char *, const char *, int) |
| Connect to TCP server, set either hostname or hostaddr and the other to NULL. | |
| int | Connect (const char *) |
| Connect to Unix domain server. | |
| int | GetErrno () |
| Get errno. | |
Private Attributes | |
| int | iErrno |
Definition at line 34 of file SockClie.hh.
|
|
Definition at line 43 of file SockClie.cc. References iErrno. |
|
|
Definition at line 49 of file SockClie.cc. |
|
||||||||||||||||
|
Connect to TCP server, set either hostname or hostaddr and the other to NULL.
Definition at line 54 of file SockClie.cc. References iErrno. Referenced by clStreamDist::AudioInThread(), Connect(), clSubLocate::ConnectDir(), clSpectrum::ConnectStream(), clSaveSrv::ConnectStream(), clLevel::ConnectStream(), clDirection3::ConnectStream(), clDirection2::ConnectStream(), clBeamAudio::ConnectStream(), clGUILocate::ConnectToServer(), clGUILevel::ConnectToServer(), clDirection::Exec(), clLofarDemon::GetDataHdr(), clSpectGUI::InitConnection(), clGUILofar::InitConnection(), clGUIDir::InitConnection(), clBeamAudioUI::InitConnection(), main(), clBeamSrv2Master::Main(), clBeamSrvMaster::Main(), clSoundUI::OnClickedEvent(), and clSoundProxy::SoundInThread(). |
|
|
Connect to Unix domain server. In QNX (which doesn't support domain sockets) this is faked to TCP socket and filename should be port number.
Definition at line 114 of file SockClie.cc. References Connect(), GLOBAL_SOCKET_PATH, iErrno, and UNIX_PATH_MAX. |
|
|
Get errno.
Definition at line 65 of file SockClie.hh. References iErrno. Referenced by clStreamDist::AudioInThread(), clSaveSrv::ConnectStream(), clBeamSrv2Master::Main(), clBeamSrvMaster::Main(), and clSoundProxy::SoundInThread(). |
|
|
Definition at line 36 of file SockClie.hh. Referenced by clSockClie(), Connect(), and GetErrno(). |
1.3.3