Hi Terry, just for my understanding of what you mean: you instantiated an object, which’ particular purpose was to open a tcp socket. The fact that this did go wrong, does not mean you cannot send the object a message of ‘let me know the error code of what happened when you tried to open the socket’. You are not sending anything over the socket (it is most prpbably not there) - you are communicating with your object.
Or seems something else wrong? best regards, René. > On 12 Jul 2021, at 21:34, Terry Fuller <t...@pgmguild.com> wrote: > > Hello all, > > I'm working my way thru a project that makes use of rxsockets. in > > ooRexx Documentation 5.0.0 > Open Object Rexx RxSock TCP/IP Socket Functions Reference > Edition 1 > > i found: > > -- get a new socket > s = .socket~new() > if s = -1 then do > say 'Error' s~errno() 'creating server socket' > return > end > > but... if s is -1, sending a message to it to extract an error message number > seems wrong; at least to me. Am I missing something? > > -- > taf > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel