Hi Thomas!
26 Jan 2002, "Thomas Mueller" <[EMAIL PROTECTED]> wrote:
>>> CONNECT local_port, server_port, server_name, mode
>> You need to have a running connection ...
>> so you have already dialed in, (chat/epppd or whatever dialer or
>> packet driver)
>> The port which is mentioned above is either TCP or UDP port.
>> eg host:port
TM> Host port makes sense to me, usually 21 for ftp, 80 for http, 25 for
TM> smtp, 110 for pop3, etc. But I don't see how local_port would be
TM> mapped to an integer between 0 and 9.
It's easy ...
you can use up to 10 local ports so you can make 10 conenctions at the same
time.
connect 0,80,ricsi.priv.at,b
connects from
you:<someport> -> ricsi.priv.at:80
a socket consists of 4 dataitems:
clienthost:clientport <-> serverhost:serverport
serverport determines the service (http, ftp, ssh, ...)
clientport is needed that the server can send back the data.
clientport is simply a free port on the client ... the number is
irrelevant.
I don't know netbasic, but it seems that you can have up to 10 concurrent
conenctions open ...
CU, Ricsi
--
|~)o _ _o Richard Menedetter <[EMAIL PROTECTED]> {ICQ: 7659421} (PGP)
|~\|(__\| -=> Forensic Medicine is a Dead Art! <=-