I created a small chat program, that works flawlessly when client & server are run on the same computer (and probably network, too).
However, as soon as I try to connect ... |
I have been struggling with this for the entire day now, I hope somebody can help me with this.
My problem is fairly simple: I wish to transfer data (mostly simple commands) ... |
|
|
The internet is the sum of all the machines which can communicate with each other using the various internet protocols. The world wide web is just one "application" which runs on the internet "platform". Other popular internet applications include email, instant messaging (ICQ, AIM, Jabber etc.), file transfers using FTP, logging on to remote machines using telnet or ssh, peer-to-peer file ... |
Checking for an internet connection can cause at least one problem I know of. When I am offline and the computer set as the gateway is not turned on, it can take a good 20-30 seconds for a connection to fail. Just thought I'd bring up the topic. I don't really know what causes it though. |
Said, I knew my friend's ISP address and I knew his computer name( or his IP Address), how can I use Socket API to build a channel? The problem is, every time he will be assigned to different port. I cann't even ring him to ask his port number, as he has to use the telephone line to connect to his ... |
|
I think this is more something for, erm, Sockets and Internet Protocols. I'll move your question and leave it up to the moderator there to answer. [ahem] The Internet is a network, or rather a network of networks. The Web is a collection of heavily interlinked documents, mostly but not exclusively written in the Hypertext Markup Language (HTML), hosted on servers ... |
|
|
Hi Our new client wants to do things on Internet paging protocol(this is what they call it). I dont know what it is and what its purpose is or what it has to do with http. Can anyone please tell me what this is and where can I find a tutorial about it. Your reply is really appreciated. Thanks Imad |
First off, please, PLEASE!, for all our eyes sake, use lowercase characters. Using all uppercase characters is the equivalent of shouting, and considered rude all over the 'net. As to your question, I think multicast support needs to be enabled on the router level, and most (or all) publicly used routers have it turned off. |
|
|
Unfortunately, the above solution has some drawbacks. The hosts file can override the name to IP lookup and will also work in a disconnected mode. So for example, if I change my hosts file on c:\windows\system32\drivers\etc (note, there is another hosts file on c:\windows\i386) and and entry mapping www.gooogle.com to 2.3.4.5, the above code would return 2.3.4.5 even if my machine ... |
Hi All, First of all, I would like to convey my apology for not using proper subject line. I was not sure what should I call my doubt . I have this query. Long time ago when I was a student I did a chat server project where multi users can do chatting using RMI technology. If I remembered it correctly, ... |
Thanks Joe. I do not have a machine that is connected to the internet. I was hoping that I could get some server that I could deploy and run the application on. The program is a socket server that "plugs" two mobile phones together (since the phones do not have a static IP), allowing them to exchange data over the GSM/GPRS. ... |
Assuming you're addressing me (and not Stan), that would be of little use. The code depends much on the structure of the HTML page. But the jWebUnit site has a number of introductory examples; those should get you going. Plus, you'll learn a lot more by doing it yourself instead of using someone else's solution. Feel free to come back here ... |
I'm not sure I understand your problem. InetAddress.getByName(String name) should work. According to the 1.5 docs: "Host name-to-IP address resolution is accomplished through the use of a combination of local machine configuration information and network naming services such as the Domain Name System (DNS) and Network Information Service(NIS). The particular naming services(s) being used is by default the local machine configured ... |
Hi..., Earlier during circa 2000 AD, I used to down-load a software using which I can make calls ( Both long distance and Local) to plain-old-Telephones. Due to government regulation, this free software is no-longer available, now-a-days some companies offer the same service for a price. I am wondering if it is possible for me to make a call to a ... |
hey, I want to create some bot for a site. I dun know any idea how to do it. I am confident that i'll be able to parse the html of the website to retrive the desire data but i am confuse how to login to the site from my java program. the site use hidden fields, ssl and other secruity ... |
|
|
How to know if my system is connected to internet, through a program? How to know whenever my system connects to internet? I suppose there should be a port which a program will continuously listen & so on... But I am new to networking & not really worked on it. Example, just like in Windows, a program (tool) activates when ever ... |
Hello, I wrote a chat application, client+server using sockets. The problem is that I have to make it comunicate over internet and it's working only over LAN. I disabled my firewall, I verified my address to be public BUT I cannot make it work over internet. What's the problem? If I connect the client to my local IP, ok. If I ... |
|
Greetings everyone! in this early morning about 6.27am, i got questioned about how the socket programming works. And yet, I found tons of discussion here and there about it. But, again, with a minimum of experience regarding about the networking stuff, here I wanted to ask you guys... perhaps you already know rather than me. I'm still seeking answer through google ... |
|
Hello. Yesterday and today I've learned a few basic things about making sockets in Java an using them to create client/server-type applications. The problem here is that I'm not seeing much in the way of really simple, beginner's tutorials about how to apply that across more than a single computer (specifically across the Internet). All I've seen so far at least ... |
Heya, I have massive gaps in my knowledge, I can happily write java programs using server sockets and get them connecting to stuff on a local network... but I have absolutely no idea how I can make it so that I can connect to it over the internet :S How do you do that? Ive got my servers and clients all ... |