1

I thinking of building a mini-server where Java can send data through UDP protocol so that my other Flex application 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

2
  • Please clarify your question. 'Should I consider HTTP instead?' Impossible to say without knowing your criteria? Did you have any? Commented Nov 2, 2010 at 7:44
  • If that's a clarification it still requires clarification. Commented Nov 2, 2010 at 8:32

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.