(file) Return to Socket.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Socket.h between version 1.22 and 1.22.4.1

version 1.22, 2006/11/10 18:14:58 version 1.22.4.1, 2008/01/02 21:05:03
Line 53 
Line 53 
 { {
 public: public:
  
       /**
           Connects the specified socket to the specified address.  If the socket
           is non-blocking, the connect attempt will time out after the specified
           interval.
   
           @param socket The socket to connect.
           @param address The address to which to connect the socket
           @param addressLength The length of the sockaddr buffer in which the
               address is specified.
           @param timeoutMilliseconds The number of milliseconds after which the
               connect attempt should time out, if the socket is non-blocking.
           @return True if the connect attempt is successful, false otherwise.
       */
       static Boolean timedConnect(
           SocketHandle socket,
           sockaddr* address,
           int addressLength,
           Uint32 timeoutMilliseconds);
   
     static Sint32 read(SocketHandle socket, void* ptr, Uint32 size);     static Sint32 read(SocketHandle socket, void* ptr, Uint32 size);
  
     static Sint32 write(SocketHandle socket, const void* ptr, Uint32 size);     static Sint32 write(SocketHandle socket, const void* ptr, Uint32 size);
Line 64 
Line 83 
  
     static void close(SocketHandle socket);     static void close(SocketHandle socket);
  
     static void enableBlocking(SocketHandle socket);  
   
     static void disableBlocking(SocketHandle socket);     static void disableBlocking(SocketHandle socket);
  
     static void initializeInterface();     static void initializeInterface();


Legend:
Removed from v.1.22  
changed lines
  Added in v.1.22.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2