Changeset 14 in libcf++ for trunk/include/cf/network.h


Ignore:
Timestamp:
06/13/15 18:44:16 (9 years ago)
Author:
cheese
Message:

#1 interface for connection with address/port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf/network.h

    r11 r14  
    101101
    102102            /**
    103              * connect to address:port
     103             * connect to host
    104104             * @param peer peer host
    105105             * @param timeout timeout
     
    107107             */
    108108            cf::void_t connect(const host & peer,
     109                               const cf::int32_t timeout = 0)
     110                throw (cf::exception);
     111
     112            /**
     113             * connect to address:port
     114             * @param address address
     115             * @param port port
     116             * @param timeout timeout
     117             * @throw cf::exception
     118             */
     119            cf::void_t connect(const std::string & address,
     120                               const cf::uint16_t port,
    109121                               const cf::int32_t timeout = 0)
    110122                throw (cf::exception);
Note: See TracChangeset for help on using the changeset viewer.