fcntl fix, more changes to come
parent
8df45ca7be
commit
5873c0e249
|
@ -107,8 +107,12 @@ int AwaitDGram(CYASSL_CTX* ctx)
|
||||||
|
|
||||||
printf("Awaiting client connection on port %d\n", SERV_PORT);
|
printf("Awaiting client connection on port %d\n", SERV_PORT);
|
||||||
|
|
||||||
|
|
||||||
clientfd = udp_read_connect(listenfd);
|
clientfd = udp_read_connect(listenfd);
|
||||||
|
|
||||||
|
|
||||||
|
// dtls_set_nonblocking(&clientfd);
|
||||||
|
|
||||||
/* Create the CYASSL Object */
|
/* Create the CYASSL Object */
|
||||||
if (( ssl = CyaSSL_new(ctx)) == NULL) {
|
if (( ssl = CyaSSL_new(ctx)) == NULL) {
|
||||||
printf("CyaSSL_new error.\n");
|
printf("CyaSSL_new error.\n");
|
||||||
|
|
Loading…
Reference in New Issue