[REBOL] Re: Opening Specific Ports
From: mattsmac:hotma:il at: 11-Nov-2003 12:07
Nope, doesn't work, but thanks anyway Gregg. Even if I explicitly define
the local-port (on the client side) to be 2727 let's say, it still defaults
to that random port number.
Matt
-------------------------------------------------
Hi Matt,
MM> Somehow I don't think that would be very efficient, but thanks all the
same.
I think he knew that. :) Anyway, I haven't jumped in on this since
it's not my area of expertise but, with the caveat that the socket
stuff I've read and written says you really don't want to do this in
most cases...
port-id: 2727
port: make system/standard/port [
scheme: 'tcp
port-id: port-id
handler: Root-Protocol ;???
;... whatever else you might need to do
]
Again, having not done this from REBOL, I can't say for sure if this
will work, though trying it will be easier than using WinSock directly
from REBOL. :)
-- Gregg
_________________________________________________________________
MSN Messenger with backgrounds, emoticons and more.
http://www.msnmessenger-download.com/tracking/cdp_customize