开发者

Java and UDP web server

I thinking of building a mini-server where Java can send data through UDP protocol so that my other Flex applicat开发者_如何学Pythonion can read. The data consist of short string of up to 64 characters. Should I consider HTTP instead?

Where can I find out more tutorial on building HTTP/UDP web server


HTTP does not work over UDP - see this question for details.

For information about UDP in Java, you may look at corresponding section of standard tutorial.

For simple HTTP requests via Java you may take a look at HttpUrlConnection class documentation, and at this section of Java tutorial.

Trivial HTTP server may be implemented with pure Java sockets. For support of wide HTTP functionality, you may take a look at HttpComponents

Also, you may look at the this site

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜