Can I do low level network programming in Java?

前端 未结 3 705
半阙折子戏
半阙折子戏 2021-02-09 20:32

An application level message is send over the network in a series of packets that are assembled in the receiving side and passed to the application level.
Is it possible in

3条回答
  •  盖世英雄少女心
    2021-02-09 21:19

    You seem to think that UDP == raw. It doesn't. Raw == IP, or even Ethernet. UDP is a layer over IP, as is TCP. You can't work in raw sockets in Java but you can work in UDP and TCP.

提交回复
热议问题