extern "C" {
#endif
-// static bool __thread_mock_socket = false;
-// extern int __real_socket(int domain, int type, int protocol);
-
-// void thread_mock_set_socket(bool flag)
-// {
-// __thread_mock_socket = flag;
-// }
-
-// int __wrap_socket(int domain, int type, int protocol)
-// {
-// return __thread_mock_socket ? 1 : __real_socket(domain, type, protocol);
-// }
-
int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
{
return 0;
+++ /dev/null
-/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#pragma once
-
-#include <stdbool.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void thread_mock_set_socket(bool flag);
-
-#ifdef __cplusplus
-}
-#endif
\ No newline at end of file