What else to do.
Pupeno
pupeno at pupeno.com
Fri Oct 8 15:24:55 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'd like to start testing my Socket stuff, but I don't know how... I have in
src/mobius/vm/ext/socket.slate the following code:
addHeaderNamed: '"socket.h"'.
s at SocketTraits create
[ | handle!LongInt |
handle: 'createSocket(Int domain, Int type, Int protocol)' directly!LongInt.
handle >= 0
ifTrue: [interpreter stackPush: handle asObject]
ifFalse: [interpreter pushNil]
] `pidginPrimitive.
It is for the creation of a socket (duh!), I'm not sure how the API will be,
I'll figure latter on the go. Now, how do I run this create method to create
a socket ? What else do I need to do to be able to call it ? How do I reach
SocketTraits ?
- --
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBZxO6fW48a9PWGkURAmRTAJ4hw5MyElKHs4Z+8CubQgTcdlWVggCeOIc0
pAoIv1p9Js+wGaHAgDWgw3A=
=Dsqs
-----END PGP SIGNATURE-----
More information about the Slate
mailing list