summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/posixsocket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "bitbanger: Add udp multicast support (#9744)" (#9749) Vas Crabb2022-05-131-144/+6
| | | This reverts commit 5052eb307a959644677037be52b9a168a68775dd.
* bitbanger: Add udp multicast support (#9744) tedgreen992022-05-121-6/+144
| | | Example usage: -bitb udp.234.99.99.99:15122
* osd: Return would block when reading a socket with no data available - no ↵ Vas Crabb2021-08-271-1/+1
| | | | error can be confused with remote shutdown.
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-221-82/+105
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* Low-level #include overhaul AJR2021-01-021-0/+1
| | | | | | | - vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h. - strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified. - osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments. - Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
* Set SO_REUSEADDR in posixsocket Sven Schnelle2018-04-161-0/+8
| | | | | | | | | Without it you have to wait until the socket is moved out of the TIME_WAIT state, which can take quite a while. This is pretty anoying when using mame with serial ports forwarded via TCP. Signed-off-by: Sven Schnelle <svens@stackframe.org>
* Don't need to ifdef this out anymore either (nw) Justin Kerk2016-03-171-5/+0
|
* Fix Emscripten build (nw) Justin Kerk2016-03-141-1/+2
|
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-0/+236
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows