sock2path(4) File Formats sock2path(4)NAME
sock2path - socket mapping file that maps sockets to transport providers
SYNOPSIS
/etc/sock2path
DESCRIPTION
The socket mapping file, /etc/sock2path, is a system file that contains the mappings between the socket(3SOCKET) call parameters and the
transport provider driver. Its format is described on the soconfig(1M) manual page.
The init(1M) utility uses the soconfig utility with the sock2path file during the boot sequence.
EXAMPLES
Example 1 An Example of the sock2path File
The following is an example of a sock2path file:
# Family Type Protocol Module | Path
2 2 0 tcp
2 2 6 tcp
26 2 0 tcp
26 2 6 tcp
2 1 0 udp
2 1 17 udp
26 1 0 udp
26 1 17 udp
1 2 0 /dev/ticotsord
1 6 0 /dev/ticotsord
1 1 0 /dev/ticlts
2 4 0 icmp
26 4 0 icmp
24 4 0 rts
27 4 2 /dev/keysock
SEE ALSO init(1M), soconfig(1M), socket(3SOCKET)SunOS 5.11 4 Nov 2008 sock2path(4)
Check Out this Related Man Page
services(4) Kernel Interfaces Manual services(4)NAME
services - Defines the sockets and protocols used for Internet services
SYNOPSIS
/etc/services
DESCRIPTION
The /etc/services file associates Internet service names and aliases with the port number and protocol used by the service. Each service
is listed in this file on a single line of the form: ServiceName PortNumber/ProtocolName Aliases
The fields contain the following information: The official Internet service name. The socket port number used for the service and the
transport protocol used for the service. A list of unofficial service names.
Items on a line are separated by spaces or tabs. Comments begin with a # (number sign) and continue to the end of the line.
EXAMPLES
Entries in the /etc/services file for the inetd internal services might look like this: echo 7/tcp echo 7/udp discard
9/tcp sink null discard 9/udp sink null daytime 13/tcp daytime 13/udp chargen 19/tcp ttytst source
chargen 19/tcp ttytst source ftp 21/tcp time 37/tcp timeserver time 37/udp timeserver
RELATED INFORMATION
Functions: endservent(3), getservbyname(3), getservbyport(3), getservent(3), setservent(3)
The RFC923 specification. delim off
services(4)
How can change udp lenght?
Hello.
I have FreeBsd 4.7 and i want to change udp datagramm lenght.
Where it can be? What i must do? I can rebuild my core but it is not good for me.
Thanks! (4 Replies)
hi all, newbie here, i'm working on mac os x and i'm trying to stream some info using udp from the terminal to another app that listens for osc messages on the same machine. but the man page on udp is pretty cryptic. my question is whether anyone has a recommendation for a good tutorial covering... (0 Replies)
3600 tcp/udp, trap-daemon, text relay-answer
Does anyone know what this service is responsible for, or how significant it is?
Thanks.....James (1 Reply)
Hi, I am trying to write 2 simple scripts. One to echo a message into a socket, and the other to read from it. There are many tutorials about, but they're mostly about retrieving web pages through a socket. The code I'm trying is
echo qwerty > /dev/udp/localhost/22 (the first port I found that... (2 Replies)
Hi
I am trying to search a firewall syslog space delimeted file for all of the different tcp and udp destination ports.
I know that grep will find lines that contain specific text. And I have tried using the the the cut command to cut out of the file certain colums. However the test I am... (6 Replies)
Hi...Please can someone send me implementation chat application using UDP(socket programming in C). Please send me as soon as possible. Thanks in advance. (2 Replies)
While in SCO Openserver 5.0.7, Sybase listened to /dev/inet/tcp, the same is not working in SCO Openserver 6. The Network card is however active and pinging fine. What can be the reason? What is the way out?
An early response will be appreciated.
Thank you
Regards
TCG (2 Replies)
could somebody give me hand programming the attached request.
my code isn't complete and i do not really understand how should i implement that. (1 Reply)
I'm not a unix expert so I need to ask what maybe a simple question to some. Is there a log file which records any icmp packets hitting the server? I ask, because I need to verify what the ip is from a server pinging mine. (3 Replies)
hi i want the tcp and udp ports listed like below inside my current directory what command should i use? any help will be appreciated.
protocol_name TCP_port_number UDP_port_number
ftp-data 20 20
ftp 21 ... (1 Reply)
Hi,
How do I convet /dev/log from a pipe to a socket. As of now its is a pipe.
bash-4.0$ ls -l /dev/log
prw-rw-rw- 1 root sys 0 Jan 31 05:23 /dev/log
I need to have it as a socket.
Thanks (2 Replies)
Hello all,
I have a requirement to read and write to a tcp socket from an HP-UX shell script. I see a /dev/tcp character device on my servers:
crw-rw-rw- 1 root root 72 0x00004f Mar 28 18:37 /dev/tcp
So I believe this is what I should use. The problem is that all the... (2 Replies)
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Hello all,
I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack.
One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)