Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3525

Re: OpenWatcom dosen't define the socket error constants on OS/2?

From Frank Beythien <fbeythien@gmx.de>
Newsgroups openwatcom.users.c_cpp
Subject Re: OpenWatcom dosen't define the socket error constants on OS/2?
Date 2018-04-18 14:42 +0200
Organization OpenWatcom
Message-ID <pb7eeq$8ar$1@www.openwatcom.org> (permalink)
References <pb76hk$6nk$1@www.openwatcom.org>

Show all headers | View raw


Am 18.04.2018 um 12:27 schrieb Johann 'Myrkraverk' Oskarsson:
> Hi all,
> 
> Does OpenWatcom not have the socket error constants defined?
> 
> In particular, I'm looking at the documents in the OS/2 Toolkit, for
> bind().  It has SOCEADDRINUSE and other constants listed.  I don't
> find (yet) it when grepping the header files in C:\WATCOM\H.
> 
> Of course, the header files in the OS/2 Toolkit have these, and the BSD
> socket equivalents apparently, like EADDRINUSE.
> 
> If these constants are actually missing, what's the procedure to add them?
> 

They are defined in h\os2\nerrno.h

HTH
Frank

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Find similar


Thread

OpenWatcom dosen't define the socket error constants on OS/2? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2018-04-18 18:27 +0800
  Re: OpenWatcom dosen't define the socket error constants on OS/2? Frank Beythien <fbeythien@gmx.de> - 2018-04-18 14:42 +0200

csiph-web