|
|
| version 1.1.1.1, 2025/01/19 02:04:04 | version 1.4, 2025/03/24 02:54:11 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * io_socket.h | |
| * socket i/o support | * socket i/o support |
| * | * |
| * | * |
| * Author: Serena Willis <jpw@coherent-logic.com> | * Author: Serena Willis <snw@coherent-logic.com> |
| * Copyright (C) 1998 MUG Deutschland | * Copyright (C) 1998 MUG Deutschland |
| * Copyright (C) 2020 Coherent Logic Development LLC | * Copyright (C) 2020, 2025 Coherent Logic Development LLC |
| * | * |
| * | * |
| * This file is part of FreeM. | * This file is part of FreeM. |
| Line 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.4 2025/03/24 02:54:11 snw | |
| * Socket I/O compat fixes for OS/2 | |
| * | |
| * Revision 1.3 2025/03/09 19:14:25 snw | |
| * First phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #if !defined(_IO_SOCKET_H) | #if !defined(_IO_SOCKET_H) |
| Line 54 typedef struct io_socket { | Line 52 typedef struct io_socket { |
| int sck; /* socket descriptor */ | int sck; /* socket descriptor */ |
| int typ; /* type of socket (SOCK_STREAM or SOCK_DGRAM) */ | int typ; /* type of socket (SOCK_STREAM or SOCK_DGRAM) */ |
| #if !defined(MSDOS) | #if !defined(MSDOS) && !defined(__OS2__) |
| struct sockaddr_in srv; /* remote connection address */ | struct sockaddr_in srv; /* remote connection address */ |
| #endif | #endif |