IPv6 project is started.

1. Remove thread lock in select loop.
2. Nonblocking will be used in select loop for good performance.
3. Connection mode for UDP socket & SCTP(SEQPACKET)

More test is needed.
This commit is contained in:
Sukchan Lee
2017-11-15 22:59:30 +09:00
parent 90a50d999d
commit 068d049a9f
14 changed files with 1004 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
#ifndef __CORE_TCP_H__
#define __CORE_TCP_H__
#include "core_sock.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
CORE_DECLARE(status_t) tcp_create(sock_id *new,
int family,
const char *local_host, c_uint16_t local_port,
const char *remote_host, c_uint16_t remote_port,
int flags);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif