[REBOL] Re: [tcp][ports] Well, here I am, asking this -again-
From: antonr::lexicon::net at: 21-Oct-2004 16:57
What's your setup?
Do you have the two computers side by side?
If you are on Windows you can open a dos console
and type "ipconfig" to get your ip address.
> Well, my IP being the server side and the other one being the client side,
> I think we mean the same thing ^.-
This is what my game server was doing:
server-port: open/direct/no-wait/lines rejoin [tcp:// ":" port-id/text]
; waits for a connection from client
connection-port: first server-port
forever [
wait connection-port ; this waits for data
message: load first connection-port
; do something with message
]
and you have to invent some way to quit the loop.
(I used a simple quit? flag).
Anton.