• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

KSocks Namespace Reference


Functions

int accept (int s, sockaddr *addr, kde_socklen_t *addrlen)
bool activated ()
int bind (int sockfd, sockaddr *my_addr, kde_socklen_t addrlen)
int bind (int sockfd, const sockaddr *my_addr, kde_socklen_t addrlen)
int connect (int sockfd, const sockaddr *serv_addr, kde_socklen_t addrlen)
void die ()
void disable ()
void disableSocks ()
void enableSocks ()
int getpeername (int s, sockaddr *name, kde_socklen_t *namelen)
int getsockname (int s, sockaddr *name, kde_socklen_t *namelen)
bool hasSocks ()
bool hasWorkingAsyncConnect ()
 KSocks (const KConfigGroup *config)
int listen (int s, int backlog)
signed long int read (int fd, void *buf, unsigned long int count)
int recv (int s, void *buf, unsigned long int len, int flags)
int recvfrom (int s, void *buf, unsigned long int len, int flags, sockaddr *from, kde_socklen_t *fromlen)
int select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
KSocks * self ()
int send (int s, const void *msg, unsigned long int len, int flags)
int sendto (int s, const void *msg, unsigned long int len, int flags, const sockaddr *to, kde_socklen_t tolen)
void setConfig (const KConfigGroup *config)
void stopSocks ()
bool usingSocks ()
signed long int write (int fd, const void *buf, unsigned long int count)
 ~KSocks ()

Function Documentation

int KSocks::accept ( int  s,
sockaddr *  addr,
kde_socklen_t *  addrlen 
)

Definition at line 579 of file k3socks.cpp.

bool KSocks::activated (  ) 

Definition at line 256 of file k3socks.cpp.

int KSocks::bind ( int  sockfd,
sockaddr *  my_addr,
kde_socklen_t  addrlen 
)

Definition at line 612 of file k3socks.cpp.

int KSocks::bind ( int  sockfd,
const sockaddr *  my_addr,
kde_socklen_t  addrlen 
)

Definition at line 606 of file k3socks.cpp.

int KSocks::connect ( int  sockfd,
const sockaddr *  serv_addr,
kde_socklen_t  addrlen 
)

Definition at line 498 of file k3socks.cpp.

void KSocks::die (  ) 

Definition at line 444 of file k3socks.cpp.

void KSocks::disable (  ) 

Definition at line 223 of file k3socks.cpp.

void KSocks::disableSocks (  ) 

Definition at line 477 of file k3socks.cpp.

void KSocks::enableSocks (  ) 

Definition at line 482 of file k3socks.cpp.

int KSocks::getpeername ( int  s,
sockaddr *  name,
kde_socklen_t *  namelen 
)

Definition at line 567 of file k3socks.cpp.

int KSocks::getsockname ( int  s,
sockaddr *  name,
kde_socklen_t *  namelen 
)

Definition at line 555 of file k3socks.cpp.

bool KSocks::hasSocks (  ) 

Definition at line 472 of file k3socks.cpp.

bool KSocks::hasWorkingAsyncConnect (  ) 

Definition at line 487 of file k3socks.cpp.

KSocks::KSocks ( const KConfigGroup *  config  ) 

Definition at line 261 of file k3socks.cpp.

int KSocks::listen ( int  s,
int  backlog 
)

Definition at line 599 of file k3socks.cpp.

signed long int KSocks::read ( int  fd,
void *  buf,
unsigned long int  count 
)

Definition at line 506 of file k3socks.cpp.

int KSocks::recv ( int  s,
void *  buf,
unsigned long int  len,
int  flags 
)

Definition at line 541 of file k3socks.cpp.

int KSocks::recvfrom ( int  s,
void *  buf,
unsigned long int  len,
int  flags,
sockaddr *  from,
kde_socklen_t *  fromlen 
)

Definition at line 520 of file k3socks.cpp.

int KSocks::select ( int  n,
fd_set *  readfds,
fd_set *  writefds,
fd_set *  exceptfds,
struct timeval *  timeout 
)

Definition at line 591 of file k3socks.cpp.

KSocks* KSocks::self (  ) 

Definition at line 229 of file k3socks.cpp.

int KSocks::send ( int  s,
const void *  msg,
unsigned long int  len,
int  flags 
)

Definition at line 548 of file k3socks.cpp.

int KSocks::sendto ( int  s,
const void *  msg,
unsigned long int  len,
int  flags,
const sockaddr *  to,
kde_socklen_t  tolen 
)

Definition at line 533 of file k3socks.cpp.

void KSocks::setConfig ( const KConfigGroup *  config  ) 

Definition at line 243 of file k3socks.cpp.

void KSocks::stopSocks (  ) 

Definition at line 451 of file k3socks.cpp.

bool KSocks::usingSocks (  ) 

Definition at line 467 of file k3socks.cpp.

signed long int KSocks::write ( int  fd,
const void *  buf,
unsigned long int  count 
)

Definition at line 513 of file k3socks.cpp.

KSocks::~KSocks (  ) 

Definition at line 438 of file k3socks.cpp.

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal