mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
31fe56c843
The current interface of |UnixSocketConnector| doesn't follow any design and is not easily understandable. This patch adds a new interface to the class. The new interface provides a method for each of the following operations: * converting an address to a human-readable string, * creating a listening socket, * creating a stream socket, and * accepting a stream socket from a listening socket. All arguments are stored in the connector class, so that connect and listen methods of the socket classes don't require protocol-specific arguments. All socket parameters are set within the connector class, so each connector class can now select parameters individually. |
||
---|---|---|
.. | ||
ConnectionOrientedSocket.cpp | ||
ConnectionOrientedSocket.h | ||
DataSocket.cpp | ||
DataSocket.h | ||
ListenSocket.cpp | ||
ListenSocket.h | ||
moz.build | ||
SocketBase.cpp | ||
SocketBase.h | ||
StreamSocket.cpp | ||
StreamSocket.h | ||
UnixSocketConnector.cpp | ||
UnixSocketConnector.h |