Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Functions
socket.h File Reference
#include <wireshark.h>

Go to the source code of this file.

Macros

#define closesocket(socket)   close(socket)
 
#define socket_handle_t   int
 
#define INVALID_SOCKET   (-1)
 
#define SOCKET_ERROR   (-1)
 

Functions

WS_DLL_PUBLIC char * ws_init_sockets (void)
 
WS_DLL_PUBLIC void ws_cleanup_sockets (void)
 
WS_DLL_PUBLIC int ws_socket_ptoa (struct sockaddr_storage *dst, const char *src, uint16_t def_port)
 

Detailed Description

Socket wrappers

Copyright 2016, Dario Lombardo

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later