Next: , Previous: , Up: Sockets.AbstractSocket   [Index]


6.1.4 Sockets.AbstractSocket class: well known ports

defaultPortAt: protocol

Answer the port that is used (by default) for the given service (high level protocol)

defaultPortAt: protocol ifAbsent: port

Answer the port that is used (by default) for the given service (high level protocol), or the specified port if none is registered.

defaultPortAt: protocol put: port

Associate the given port to the service specified by ‘protocol’.

portCmdServer

Answer the port on which the rsh daemon listens

portDNS

Answer the port on which the DNS listens

portDayTime

Answer the port on which the TOD service listens

portDiscard

Answer the port on which the DISCARD service listens

portEcho

Answer the port on which the ECHO service listens

portExecServer

Answer the port on which the exec server listens

portFTP

Answer the port on which the FTP daemon listens

portFinger

Answer the port on which the finger daemon listens

portGopher

Answer the port on which the Gopher daemon listens

portHTTP

Answer the port on which the http daemon listens

portLoginServer

Answer the port on which the rlogin daemon listens

portNNTP

Answer the port on which the nntp daemon listens

portNetStat

Answer the port on which the NETSTAT service listens

portPOP3

Answer the port on which the pop3 daemon listens

portReserved

Answer the last port reserved to privileged processes

portSMTP

Answer the port on which the SMTP daemon listens

portSSH

Answer the port on which the SSH daemon listens

portSystat

Answer the port on which the SYSTAT service listens

portTelnet

Answer the port on which the TELNET daemon listens

portTimeServer

Answer the port on which the time server listens

portWhois

Answer the port on which the WHOIS daemon listens


Next: , Previous: , Up: Sockets.AbstractSocket   [Index]