網路
1751879 會員
5180 線上
108782 解決方案
發表新文章

A Network Problem

 
watermelonyu
教授

A Network Problem

Why is UDP needed? Why can't a user program directly access IP?



Thanks



Eric

1則回覆 1
watermelonyu
教授

A Network Problem

Hi Rric :



I think you are talking about the raw IP

access. Raw sockets are used to bypass the

transport layer, TCP and UDP, and are used to

capture raw IP packets. Typically, raw

sockets implementation have been buggy,

unportable, and limited in use. Raw sockets

are not supported in HP-UX.



HP-UX has an unsupported raw socket

definition SOCK_RAW in

/usr/include/sys/socket.h.

The effective user ID must be superuser.

HP-UX does not support routing sockets or

sequential packet/encapsulated packet

functionality.



.

..