43 #include <XrdClient/XrdClientUrlInfo.hh>
76 fConnected = 0; fRDInterrupt = 0; fWRInterrupt = 0;
return fd; }
78 void SetInterrupt(
int which = 0) {
if (which == 0 || which == 1) fRDInterrupt = 1;
79 if (which == 0 || which == 2) fWRInterrupt = 1; }
82 int TryConnect_low(
bool isUnix = 0,
int altport = 0,
int windowsz = 0);
96 XrdClientSock(XrdClientUrlInfo host,
int windowsize = 0,
int fd = -1 );
112 virtual int RecvRaw(
void* buffer,
int length, Sockid substreamid = -1,
113 Sockid *usedsubstreamid = 0);
117 virtual int SendRaw(
const void* buffer,
int length, Sockid substreamid = 0);
int TryConnect_low(bool isUnix=0, int altport=0, int windowsz=0)
virtual void RestartSelectOnSubstream(Sockid)
virtual void PauseSelectOnSubstream(Sockid)
virtual void UnBanSockDescr(Sockdescr)
virtual Sockid GetSockIdHint(int)
virtual int RemoveParallelSock(Sockid)
virtual int Socks4Handshake(Sockid sockid)
void SetRequestTimeout(int timeout=-1)
virtual int RecvRaw(void *buffer, int length, Sockid substreamid=-1, Sockid *usedsubstreamid=0)
virtual int GetSockIdCount()
virtual void Disconnect()
Double_t length(const TVector2 &v)
virtual int SendRaw(const void *buffer, int length, Sockid substreamid=0)
virtual void TryConnect(bool isUnix=0)
virtual int SendRaw_sock(const void *buffer, int length, Sockdescr sock)
XrdClientSock(XrdClientUrlInfo host, int windowsize=0, int fd=-1)
Construct a socket helper.
virtual int EstablishParallelSock(Sockid, Sockid)
void SetInterrupt(int which=0)
virtual Sockdescr TryConnectParallelSock(int, int, Sockid &)
XrdClientSockConnectParms fHost
virtual void BanSockDescr(Sockdescr, Sockid)