Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is it possible to create a jar file that when executed will connect to a server IP then read chat. It would not be a client, just run in terminal. I believe this is possible, I just need to know the name of what it is called so I can look it up xD
EDIT:
This will also need to run on a raspberry pi
This is completely possible through use of the Minecraft protocol seen here: http://wiki.vg/Protocol
You will need to do a few things to simulate a client.
Log into the minecraft service and keep track of auth data.
Log in to the server using the given protocol and your known profile.
Respond to incoming "are you there" messages from the server.
Read incoming chat messages from the server and output to command line. (Involves color parsing and other stuff if you want the real experience)
All of the documentation on the protocol for each packet is available on that wiki. Just open a socket that knows how to deal with that information and you should be fine.
EDIT: If you own the server that you wish to do this for, you could alternatively create a bukkit plugin to send chat through a simpler socket and just read straight from that.
It sounds like you're trying to make a wrapper for the minecraft client. I just made a wrapper for my bucket server which basically launches the .jar file with a "-nogui" command option then redirects output to a richtextbox. If the client supports a -nogui option you might be able to do the same.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I had the idea for an in-browser ssh client, but i couldnt find any detailed explanation on how to write a SSH client. I tried looking it up but i couldnt find anything(Most results were about Putty or rankings of clients).
One idea would be to write an express app on the server that just executes the command it gets by the URL paramater or something else, but
it wouldnt be very secure i guess
i got curious
I think it works similarly to a websocket. First you send a normal http request or something and then you try to "upgrade" the request to a ssh tunnel
How does http/ssh protocol work? couldnt help
Edit:
Any Keywords or links to articles about how to code your own SSH Client or server would help
Thanks
You may just tunnel your ssh connection through Web Socket.
The problems are how you build the functionality of ssh client if you want ssh connections start from local users.
To develop the client in browser(meanwhile in a site), the most works can only be done by JavaScript.
However, because of secure problems, JavaScript has lots of limits in contrast with normal local programs.
The another way you provide that execute commands on server is surely easy to do, but the problem is : how can I trust the web application and the server as I need to provide my private information?
If I can use mature ssh technology to 100% ensure my security, how do we make people believe that the ssh web application is totally safe and willing to use it?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm using Google Cloud Messaging and have been working on both the application server side (the server that sends push messages) and the Android side (the smartphone app that receives push messages).
Google used to maintain documentation with some Java code for the application server at this link: http://developer.android.com/google/gcm/server.html
However, that link is now dead. It points to https://developers.google.com/cloud-messaging/ now and does not have any information on implementing the application server, in particular in Java.
Where is the application server documentation now, and where can I find the sample code for it?
Of most importance, I need to know what firewall ports to open on the application server side to connect to Google's servers. There are related StackOverflow messages on GCM ports, but again, they all point to URLs that are now dead.
UPDATE 6/12:
I found cached copies of that webpage using the Wayback Machine: http://web.archive.org/web/*/http://developer.android.com/google/gcm/server.html
The new server documentation is here: https://developers.google.com/cloud-messaging/http
The old Java server code has been removed, but there is similar and more up to date code in the GCM demo app that is in the git repo now, for example: https://github.com/google/gcm/blob/master/gcm-demo-app/src/main/java/com/google/android/gcm/demo/logic/GcmServerSideSender.java
You should be able to base you server code of this, or extract it into your server.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
good day, may I ask if anyone knows if it's possible to connect two or three computers through a wifi router? It's hard to put it in one sentence so in detailed explanation, I would be making a software (java) in a main computer (I'll call it the server), another computer would then access the server through a client/server type of setup. Basically the computer (connected to the same wifi hot spot as the server) would access the software on the server either through php/jsp and utilize that software in an office setup wherein all the centralized data on the server is accessible to the connecting computer. I would put in a log-in screen first as standard practice to protect access to the server. I was hoping to ask if this is possible (since it's the same setup as using a LAN/wired connection in an office). If it's possible I'll try to research on how to do it (I heard I'll have to read more on sockets programming for this). If you need more detail on the scenario I would gladly provide it. Thank you for answers in advance.
*my next development goal would be to connect the server through a dial-up modem to connect to a remote computer connected to a dial-up modem as well. I'm trying to avoid internet connectivity to increase security problems and to make it more exclusive. Then maybe connect a couple of android tablets as well that is connected to the server for portability. so that would be around 2-3 computers connected to the server and a few portable tablets accessing the data. it would be great if anyone could point me in the direction for the first few steps on connecting the computer to the servers as well... right now I've already developed a java software that is working but it's only on the server and not connected to any router/computer at the moment.
Thanks again.
Yes, this is all perfectly possible. Your question however is in the wrong exchange. Stackoverflow is more for actual programming issues.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Currently running osx 10.8.2
Have an external network drive attached to my rt-n66u router running tomato
I'm trying to use tmutil to connect my external network drive, and am having a lot of trouble.
I mount the drives in Finder
Run sudo tmutil setdestination /Volumes/external, and get Incompatible file system type: smbfs (error 45)
Any ideas? :(
I can't answer your question specifically aside from telling you that timemachine backups on samba shares are not supported officially. As a consequence, even if you will be able to backup your data on a samba share (as far as I know lots of people have issues to do so), you will run into trouble during a restore procedure. If you would try to restore your data by booting an OS X livecd you couldn't because it doesn't have a samba client installed in order to connect to a samba share. The next step would be to try to connect the backup drive directly to your Mac to access your data. Chances are this would also fail because the harddrive was formatted with a linux filesystem which is not supported by OS X.
So the best thing you could do is to install netatalk (afpd) on that router box if it is possible at all.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using Wi-Fi connection for my android device. It is signal is very week and most of the time i am fed up with internet connection not available.
But i have a PC in my hand with which is in LAN connection.. Is there any way to use this internet connection my mobile using USB cable?
Just curious to know that this will solve my problem. If yes, please give me in detail.
PC LAN connection to Mobile is not at all possible. But, you can use the mobile connection in PC using USB tethering.
Yes it is possible. Look for "USB Reverse Tethering" in the google play store. It is not easy but it is possible.
There also another way to do this, with "Virtual WiFi Router", they use the of your computer as hotspot. But take care when you install it, always refuse all the program they try to install on your computer. It is possible to install without adware program.
Take a look at this. It is the ICS (Internet Connection Sharing) setup guide for Windows 7 on Microsoft's website: http://windows.microsoft.com/en-US/windows-vista/Using-...