hello..... i am new in the coding field..... and i understand the working of codes in java......but couldn't able to start.....i have to make a program of videoconferencing.....how to start coding on it.....
Yes, we can help you - but remember that you must make an effort and try. The more you try, the more we will help you.
If you are new to coding then videoconferencing is going to be very difficult for you. It involves media handling, client-server computing, all kinds of advanced topics. Even an experienced Java developer would find parts of it challenging. What has gone wrong here? Has your teacher set an unrealistic task, or have you missed out on some earlier stages?
Please be aware of DaniWeb member rules, including "Do not solicit for help by email". DaniWeb is a resource that everyone can contribute to and everybody can use, so please post your question in the forum so others can help answer it and more people can learn from it.
It's impossible to know what help to give you without an understanding of where you are now in terms of Java knowledge and specific progress on this application.
But if you really don't even know where to start, then this assignment is sure to be beyond your current skill level.
DLL files are undesirable, especially because they prevent you running the application on a different platform.
You are asking all the wrong questuions in the wrong order.
Document your requirements
Perform an initial design
If the design reveals a need for functionality that pure Java/JavaFX cannot provide, then search for a third-party solution (which may involve a DLL)
Once again, based on your questions, and your inability to perform basic debugging on your small client/server test program, a videoconferencing application is way beyond your current skills. Please find something more suitable for a beginning learner.
Thnx for your replies....actually i am B.TECH in computer science.
I assume that you mean that you have actually graduated with said degree, rather than that you are currently a student. Unfortunately, that still tells us little about your programming ability, as quite a few people graduate with Bachelor's, Master's, or even Doctoral degrees who have no skill or knowledge of the field they allegedly are accomplished in, and sadly, it is possible to go through an entire career in high-paying positions without learning a thing as well.
As for your question regarding DLLs, as has already been said, we would need a lot more context to determine what, if any, relevance they have to your project. since you are working in Java, the most obvious answer would be 'none at all', but it all depends on factors we don't know.
Dynamic Link Libraries are a feature of Microsoft Windows which allow native code libraries to be shared in system memory by multiple processes running simultaneously; the same feature is called 'shared libraries' in Unix-like operating systems such as Linux or MacOS X, but in all cases, the support for them is specific to the particular operating system.
Now, one of the primary aspects of Java is that it does not run native on any operating system; Java programs compile to a bytecode that is either run directly in the virtual machine, or is further compiled to native code by a Just-In-Time compiler that is managed by the virtual machine program. As both a design principle of the language and as a practical matter, Java programs generally do not require explicit use of any OS-specific features. Unless you are using the Java Native Interface (JNI) to call to a DLL explicitly, or using a Java library that does, you won't need any DLLs at all.
The thing is, this is all stuff you should have known already, if you have a B.Tech degree and have studied either Java programming or Windows programming before. As I said earlier, that doesn't mean you actually learned it, or even that your courses covered this at all, but it is the sort of thing that is basic to understanding those platforms. The fact that you are asking about it says that you need to study up on these matters in greater depth before tackling a project of this scope.
Not that this is a bad thing per se; this is a field that requires constant study to keep up with, and most programmers who are actually competent spend as much time in study after they finish their college work as they did while still in school. A university degree is only a foundation for your later study, not the end of your studies. If nothing else, this field is far too broad to be covered by even the best schooling.
as to your code, it works as one would expect, IF you're connecting the client to the correct IP address.
In other words, if you're running the server on a computer with a different IP address from the one you used in the client you'll indeed not get any output.
If there's a firewall in between blocking that port you won't get any output.
If there's a firewall in between blocking the protocol you're using (and you are, even if it's not explicitly defined), you won't get any output.
Run both on the same machine and use 127.0.0.1 as the IP address and it works just fine.