Changeset 1a0fb3f8 in mainline for uspace/srv/net/include
- Timestamp:
- 2010-01-04T22:47:30Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ede63e4
- Parents:
- b648ae4
- Location:
- uspace/srv/net/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/include/icmp_common.h
rb648ae4 r1a0fb3f8 40 40 #include <ipc/services.h> 41 41 42 #include <sys/time.h> 43 44 /** Default timeout for incoming connections in microseconds. 45 */ 46 #define ICMP_CONNECT_TIMEOUT ( 1 * 1000 * 1000 ) 47 42 48 /** Connects to the ICMP module. 43 49 * @param service The ICMP module service. Ignored parameter. 50 * @param[in] timeout The connection timeout in microseconds. No timeout if set to zero (0). 44 51 * @returns The ICMP module phone on success. 45 52 * @returns The ICMP socket identifier if called by the bundle module. 53 * @returns ETIMEOUT if the connection timeouted. 46 54 */ 47 int icmp_connect_module( services_t service );55 int icmp_connect_module( services_t service, suseconds_t timeout ); 48 56 49 57 #endif -
uspace/srv/net/include/socket.h
rb648ae4 r1a0fb3f8 62 62 * @returns ENOMEM if there is not enough memory left. 63 63 * @returns Other error codes as defined for the NET_SOCKET message. 64 * @returns Other error codes as defined for the bind_service_timeout() function. 64 65 */ 65 66 int socket( int domain, int type, int protocol );
Note:
See TracChangeset
for help on using the changeset viewer.