ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Portable sockets

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Wed, 10 Feb 2016 16:51:55 +0100
Hello everybody
I'm working on a new extcap that listens on a port for incoming packets produced by capture devices. I have to create a small, standard udp server. I was wandering which functions I am supposed to use to be portable. Are POSIX sockets ok on Windows (I suppose they're fine on OSX)? Or should I go with something like GSocket?


Thanks for help.
Dario.