[Cuis-dev] Error when trying to use SockeStream: asUtf8BytesOrByteStringOrByteArray missing

Rafi Khan rafi at rafikhan.io
Thu Mar 2 08:57:41 PST 2023


Hi all,

I am trying to do socket programming using SocketStream and running
into an error where a message is not understood.

In the Socket instance the following message gives me an error.
sendSomeData: aStringOrByteArray startIndex: startIndex count: count
for: aTimeoutInSeconds

The first line reads:
stringOrByteArray _ aStringOrByteArray asUtf8BytesOrByteStringOrByteArray.

I had to change the line to:
stringOrByteArray _ aStringOrByteArray asUtf8BytesOrByteString.

I have no context here as to why the selectors are different or why
the required selector is missing in my system.

Can someone please help me understand what the root problem is?

Also, I am running on:
- Windows 11
- Using Cuis 6.0-5608 image
- VM version:
Win32 built on May 11 2022 07:53:00 Compiler: Clang 14.0.0 [Production
Spur 64-bit X64 VM]
CoInterpreter VMMaker.oscog-mt.3184 uuid:
57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022
StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid:
c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022
VM: 202205110711 runneradmin at fv-az207-117:/d/a/opensmalltalk-vm/opensmalltalk-vm
Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d
Plugins: 202205110711
runneradmin at fv-az207-117:/d/a/opensmalltalk-vm/opensmalltalk-vm



Best,
Rafi Khan
rafi at rafikhan.io


More information about the Cuis-dev mailing list